I think that I do all correct
![:(](./images/smilies/icon_frown.gif)
Best regards
DM
----------------------------
[c]cutted off[/c]
I Acc this problem. I've done silly mistake .... To all who don't get Acc: think about such scenario:
9 too low
8 too low
7 too low
8 right on
![:)](./images/smilies/icon_smile.gif)
Moderator: Board moderators
Code: Select all
[c]
sut off ...
[/c]
Code: Select all
[c]
while (scanf("%d\n",&n)==1) {[/c]
Code: Select all
[c]
while (scanf("%d",&n)==1) {[/c]