I have done with several submissions for enormous input test in Python2.7 I tried with, import psyco psyco.full() also. Here are some approches I used, 1) I taken all input at once,and then find final answer. 2) Take a no at once and then calculate answer after each input. I am wondering if someone have solved this problem in Python ,if yes how or what can be efficient way. I am python programmer not interested in other languages right now. here are solutions i tried. http://www.codechef.com/status/INTEST,tripples and I feel http://www.codechef.com/viewsolution/1495453 this would be efficient.
↧