you are right, I just handled one line of input in the above code...what a silly mistake..................
Change the code to while (cin>>a[1]......a[9])
(actually i tried "while (true)" before , but got unlimited output problem..)
then got AC
the problem is solved thank you.
Search found 2 matches
- Fri Feb 09, 2007 2:57 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 117408
- Thu Feb 08, 2007 9:13 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 117408
102 wa??
I have read all the post on this forum and find no solution on my problem,please help to check why a WA result:
i have taken the alphabetical order problem and try changing the type from int to long, i got correct output for test cases posted in this forum.
I think I made some silly problem , but ...
i have taken the alphabetical order problem and try changing the type from int to long, i got correct output for test cases posted in this forum.
I think I made some silly problem , but ...