Page 1 of 1

10123 - No Tipping

Posted: Sun Nov 09, 2003 4:51 pm
by sidky
I solved this problem with some recursion. I saved the intermediate values. My program took 9.59 seconds. But a lot of people solved it in 0.0 second. Can anyone please help me, how to speed this up that fast?

Re: 10123 - No Tipping

Posted: Sat Feb 13, 2010 4:33 am
by sometime
Have your 10123 - No Tipping Accepted? My code is Time Limit Exceeded.
Could you help me? Thank you.
anyone help me?? thank you very much~~~

Re: 10123 - No Tipping

Posted: Sat Mar 13, 2010 7:20 pm
by crip121
sometime wrote:Have your 10123 - No Tipping Accepted? My code is Time Limit Exceeded.
Could you help me? Thank you.
anyone help me?? thank you very much~~~
i used memoization to solve this task. think abt it. if u hav trouble then PM me :D