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 1402. Cocktails

You can get WA13 because of an unsigned 64-bit integer (qword in pascal) is not enough for it
Posted by PrankMaN 26 Aug 2011 20:39
Ans for n=21 is bigger then max qword.
Ans for n=20 is less then max qword.