Page 1 of 1
a question about submission
Posted: Tue Sep 11, 2007 3:21 pm
by songlj
is there any special things to remember when submitting a problem in the new system?
i always got Compile Error even when i submit an already ACed program.
thx
Posted: Tue Sep 11, 2007 5:43 pm
by ayon
did you use void main()? that now gets CE or RE, for the new server use int main(){ return 0; } for C++
Posted: Wed Sep 12, 2007 6:37 am
by songlj
thx for ur reply
but actually i did use int main() {...return 0;} and still got CE
i'm now confused
Posted: Thu Sep 13, 2007 3:41 pm
by Carlos
download the same compiler we use and use the same compilation options....
Posted: Thu Sep 20, 2007 12:43 pm
by jurajz
In new system, I have suddenly too many RTEs. Last time in problem 10927. But I don't understand, why, and can't find, where (Maybe new limit for N?). Before, I got e-mail and in this e-mail was information, what was reason for RTE. Now, I don't get any e-mail. Will be or will be not in future e-mail clarification?
(Sorry for my bad english)
Posted: Thu Sep 20, 2007 6:34 pm
by Carlos
there will be....some time

Posted: Thu Sep 20, 2007 11:28 pm
by jbernadas
songlj wrote:thx for ur reply
but actually i did use int main() {...return 0;} and still got CE
i'm now confused
I've got some compilations errors too, but I managed to discover where. For example, this code gives CE (in C++):
Code: Select all
struct XXX {
static const int YYY = 10;
};
Instead, you have to do:
Code: Select all
struct XXX {
static const int YYY;
};
const int XXX::YYY = 10;
Hope that helps.