|
|
вернуться в форумBe careful! 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. |
|
|