ENG
RUS
Timus 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
1435
. Financial Error
scanf()
Posted by
Lomir
6 May 2007 18:43
Do not use scanf("%lld", &n); or you will get WA.
Only scanf("%I64d", &n);
Same with printf() for long long data type.
© 2000–2024
Timus Online Judge Team
. All rights reserved.