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
1154
. Mages Contest
2rf [Perm School #9]
Be careful!
[1] // Problem
1154. Mages Contest
8 Aug 2009 17:09
In this problem, last line of input can end not with EOF but with just newline character. However, I read it like this:
while ((c=getchar()) != EOF) kol[d[c]]--;
and wasted about 20 submissons and 1,5 hours of time to find and fix it.
gongshaoqing
Re: Be careful!
// Problem
1154. Mages Contest
8 Aug 2009 19:58
thanks
谢谢
© 2000–2025
Timus Online Judge Team
. All rights reserved.