Sunday, March 25, 2012

SPOJ: Deposit

A very nice problem involving more of pen and paper work than coding. Plus a constant time algorithm. One of the few problems to get ACC at the first attempt. :-)
Personal note: DO NOT GET CONFUSED BETWEEN fibonacci(n) and factorial(n)
U can find this problem here. .
http://www.spoj.pl/problems/DEPOSIT/

No comments:

Post a Comment