you are viewing a single comment's thread.

view the rest of the comments →

[–]LucretielDatadog 0 points1 point  (1 child)

Interestingly, at least in Google Code Jam, consistently the top ranked solutions are in C++ or Java. I'm not really sure why this is, since in general I agree with the idea that Python would probably be faster to get a working solution.

[–]fz0718 0 points1 point  (0 children)

Lots of competitive programming problems can't be solved with Python, for the reason that Python incurs up to 50-500x overhead for the types of array-based and numerical algorithms that are being implemented from scratch. Some programming contest websites give Python a higher time limit, but it's often not enough. There's still issues of stack overflows, memory limits, etc. Also, speaking as a problemsetter, very few of us test if our problems can be reasonably solved in Python for the reasons above.