Search found 5 matches

by klam
Fri May 19, 2006 12:37 am
Forum: Volume 1 (100-199)
Topic: 106 - Fermat vs. Pythagoras
Replies: 138
Views: 30554

im just wondering, can't post like this one be removed? cause this is the kind of post that makes finding what you want heavy.
by klam
Thu May 18, 2006 11:39 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318964


I got WA for a program and im still confuse as to how the judge actually goes throu it, is it:

input
output
input
output

or

input
input
output
output

What do you mean by this?
There's exactly one input file, which your program reads on the standard input. After your program terminates, all ...
by klam
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 ...
by klam
Thu May 18, 2006 1:30 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117218

since u've solve it can you actually help me with something? im running your test case, did you submit your program in the format:

input
input
output
output

or

input
output
input
output

i think mine is right but im getting WA
if you submited as the 1st one, does it end with a "end of line ...
by klam
Thu May 18, 2006 1:26 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318964

im sorry but this thread is really long and i think it should get ride of post that really dont matter. It's extremely cumbersome going one by one to find if the question has been resolved or not.

I got WA for a program and im still confuse as to how the judge actually goes throu it, is it:

input ...

Go to advanced search