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 1502. Domino Dots

HeypaBHoBeceH Careful with the i/o system u use for test N#5 [2] // Problem 1502. Domino Dots 26 Aug 2008 15:26
I didn't get accepted until I switched printf() with cout.
I used %lld for the format of printf and still it got WA. Same formula, same code, just that i used cout/cin and I got AC.
I used printf with "%llu" and got AC the first attempt.
u - unsigned
d - digit (signed)