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 1114. Boxes

To all C Users
Posted by davidsun 2 Nov 2007 16:32
Only unsigned INT64 is big enough for the test cases. When outputing, you should use printf("%I64u\n", ...") instead of printf("%I64d\n", ...), or you will get WA.
Re: To all C Users
Posted by SkorKNURE 26 Sep 2008 19:41
Thanks! I had already tried to solve with signed int64, then throw it out and rewrited in Java. Eeh... :)