Search found 5 matches
- Fri May 19, 2006 12:37 am
- Forum: Volume 1 (100-199)
- Topic: 106 - Fermat vs. Pythagoras
- Replies: 138
- Views: 30554
- Thu May 18, 2006 11:39 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318964
- Thu May 18, 2006 1:53 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 117218
Re: Problem is solved!
I can get AC!!!
while (true) {
if (cin.eof()) break;
.
.
.
This is the cause of WA.
This should be changed,
while (scanf("%d %d %d %d %d %d %d %d %d",
&data[0],&data[1],&data[2],
&data[3],&data[4],&data[5],
&data[6],&data[7],&data[8])==9) {...
so according to this.... the process ...
while (true) {
if (cin.eof()) break;
.
.
.
This is the cause of WA.
This should be changed,
while (scanf("%d %d %d %d %d %d %d %d %d",
&data[0],&data[1],&data[2],
&data[3],&data[4],&data[5],
&data[6],&data[7],&data[8])==9) {...
so according to this.... the process ...
- Thu May 18, 2006 1:30 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 117218
- Thu May 18, 2006 1:26 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318964