~shree
10May/105

Google CodeJam

Cycling has taken a backseat for the past couple of months. Exercising for my back, and waiting for it to heal are more important.

Life without some activities can get boring. So I am participating in Google's online coding competition, CodeJam. For those of you in the know, the qualifying round is already over. 8523 qualified for the next round, including me. 10492 participants had a crack at the problems.

This is perhaps the first time that I am participating in a competition I do not expect to win. Earlier I have avoided competing in certain competitions fearing failure! So this is a big improvement for me - and it took me some effort to force myself into this. Advancing to the next round would be good for now.

I am embarrassed to find myself placed in the 5839th position. I got 43 points - 33 for problem A and 10 for problem C. I knew I hadn't been solving problems of late, and this is just an additional confirmation. My score shows me how negligent I have become. A very bad mistake cost me 23 points for problem C-large. I had to use a 64 bit integer to avoid a numeric overflow. But I overlooked such a simple thing! Problem B, "Fair warning", was IMO the most difficult of the three problems. For some strange reason, I didn't write a single line of code for this. Naturally, I missed out solving this.

By now you are perhaps wondering why I should be ranting about this, and that too in public. Most of you guys are here for articles related to cycling. However, I consider myself a geek first ! And for a geek to realize that he has gone bad w.r.t. coding can be very bad indeed. Many of my readers are from the IT industry, so I am hoping this rant is is relevant to at-least some of you.

Filed under: Updates Continue reading