Page 1 of 1

724 - Reverse

Posted: Sat Mar 29, 2008 6:52 am
by Tommy Wu
I think that the judge for this problem has a bug.

A big number of my friends submit the following code which is obviously deserve to get WA but it got AC.

code(in C++):

main(){}

code (in C) (Is this code able to avoid compile error?)

#include<stdio.h>
#include<stdlib.h>
int main()
{
freopen(stdin,"r.txt","r");
return 0;
}

Re: 724 - Reverse

Posted: Sun Aug 03, 2008 8:46 am
by hamedv
Yeah i submited this code and got ac !!!
main(){}

Re: 724 - Reverse

Posted: Sun Aug 03, 2008 8:49 am
by hamedv
but i think the correct code is this:

Code: Select all

Code deleted by moderator.

Re: 724 - Reverse

Posted: Sun Aug 03, 2008 10:49 pm
by Carlos
As with the rest of the problems with no input, if you write a void output you get AC. It's a known bug in the judge (btw, not solvable for the moment...).

Please, don't use this bug to increase the number of AC problems. You'll get wrong submissions as soon as we fix this bug.