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 1057. Amount of Degrees

Did i understand the problem? I don't think so. My answer
is always larger than 1*10^5. But I know your answers are
smaller than 10^4;
Could anyone help me?
There was MaxLongInt constant, in Pascal it is 2^31 -1.
To avoid any misunderstandings, I have put the exact number
in the problem source.

P.S. 2^31 is about 2 billion.