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

problem with w7
Posted by mhg 8 Aug 2014 13:01
for accepting you should consider something like long long int as input and ...
but w7 is something different can anybody help for this...
Re: problem with w7
Posted by Sunkyu Hwang 26 Feb 2017 20:03
I got WA #7 as well.. not sure what went wrong anyone has the input n and expected output? Thanks
Re: problem with w7
Posted by Sunkyu Hwang 26 Feb 2017 20:10
Ok, I figured it out.

Internal cache values should be long long for storing large count.

For n = 500
answer = 732986521245023