Page 2 of 2

Posted: Wed Jun 06, 2007 1:06 pm
by little joey
Hi tomtung, welcome to uva!

If the judge gives you a Compiler Error, you should check your mailbox, because he sends you an email containing the compiler output. In this case it is:

Code: Select all

Here are the compiler error messages:

05643755_24.c: In function `int main()':
05643755_24.c:64: implicit declaration of function `int memset(...)'
Which means that you should include the header in which memset() is declared. The judge's compiler doesn't do that automatically, as a lot of other compilers do.

I'm not sure about C++, but in C you should add "#include <string.h>".

And another thing: you should print a blank line between cases, not after each case, as you do.

AC

Posted: Wed Jun 06, 2007 2:38 pm
by tomtung
AC. Thanks for your help :)
BTW, I didn't receive anything form the system after submittion(I've checked the junk-mail box,too). Anything wrong?

Posted: Wed Jun 06, 2007 2:46 pm
by little joey
Maybe you have that option turned off.

On the main page, select "Update Info" from the menu "Users"; log in, and then check the option "Always to the E-Mail address specified at the top". The judges compiler output should then be sent to the email address you specified on the same page.

Posted: Wed Jun 06, 2007 3:05 pm
by tomtung
Done. Thanks again:)