TLE in python - Counting Fair Coins July Long contest

I coded a nice algorithm for this problem CodeChef: Practical coding for everyone in Python, but got TLE. I went through the FAQ and they asked to insert the two lines.

import psyco

psyco.full()

at the start of code, and it resulted in Run time Error, so I would like it to be removed from FAQ.
Let me know if I am wrong.

I did the same code in C++ and it got AC, so wanted to know why don’t they increase time limit for Python, I know it’s 2x but still it’s not working then it’s not fault of programmer or algorithm.

Can you provide the link to your code? It’ll help debugging whats wrong.

sahebrm’s code

and it seems someone dit it. :slight_smile: