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

could any C/C++ programmer solve this question??
Posted by manishmmulani 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??
Re: could any C/C++ programmer solve this question??
Posted by Giorgi Saghinadze (Tbilisi SU) 27 Dec 2007 04:27
your solution is wrong besause answer always is less than 10^18
Re: could any C/C++ programmer solve this question??
Posted by manishmmulani 28 Dec 2007 17:48
thanx a lot... i got my mistake