for those who are getting WA.i have got wa for about 10 times because of this line:
while(scanf("%d",&cases)!=EOF){
while(cases--){
.........
}
}
here cases is case no.
but when i changed this to..
scanf("%d",&cases);
while(cases--){
..........
}
i got AC.
Search found 4 matches
- Mon Jul 30, 2012 8:24 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11414 - Dream
- Replies: 8
- Views: 7868
- Sat Jul 28, 2012 3:24 am
- Forum: Volume 114 (11400-11499)
- Topic: 11492 - Babel
- Replies: 18
- Views: 14404
Re: 11492 - Babel
getting wa constantly in this problem,is there anyone to help?
heres my code link:https://ideone.com/6Q8Ow
some critical i/o can also help?i have tried with all sample i/o s given here.
heres my code link:https://ideone.com/6Q8Ow
some critical i/o can also help?i have tried with all sample i/o s given here.
- Sun Apr 22, 2012 4:31 am
- Forum: Volume 101 (10100-10199)
- Topic: 10113 - Exchange Rates
- Replies: 5
- Views: 3545
Re: 10113 - Exchange Rates
Anika, at first search the board for existing topics before creating a new thread.
And before pasting your code, click on the "code" button above, or else your code will loose clarity due to omission of the whitespace and tab characters.
i found no other thread for this problem 10113 except this ...
And before pasting your code, click on the "code" button above, or else your code will loose clarity due to omission of the whitespace and tab characters.
i found no other thread for this problem 10113 except this ...
- Sat Apr 21, 2012 9:39 am
- Forum: Volume 101 (10100-10199)
- Topic: 10113 - Exchange Rates
- Replies: 5
- Views: 3545
Re: 10113 - Exchange Rates
i am getting wa in this problem 10113,plz help.
Code: Select all
AC