ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1017. Staircases

manishmmulani could any C/C++ programmer solve this question?? [2] // Problem 1017. Staircases 26 Dec 2007 16:53
because... even the data type "long long" works only for numbers till 490 ... from 491 to 500...
it gives wrong answer

can any1 help please??
Giorgi Saghinadze (Tbilisi SU) Re: could any C/C++ programmer solve this question?? [1] // Problem 1017. Staircases 27 Dec 2007 04:27
your solution is wrong besause answer always is less than 10^18
thanx a lot... i got my mistake