10123 - No Tipping

All about problems in Volume 101. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
sidky
New poster
Posts: 50
Joined: Wed Nov 06, 2002 1:37 pm
Location: Planet Earth, Universe
Contact:

10123 - No Tipping

Post 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?
sometime
New poster
Posts: 1
Joined: Sat Feb 13, 2010 3:33 am

Re: 10123 - No Tipping

Post 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~~~
crip121
New poster
Posts: 29
Joined: Tue Jul 08, 2008 9:04 pm

Re: 10123 - No Tipping

Post 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
Post Reply

Return to “Volume 101 (10100-10199)”