I have done with several submissions for enormous input test in Python2.7
I tried with,
Here are some approches I used,
- I taken all input at once,and then find final answer.
- 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.
and I feel
this would be efficient.