258 - Mirror Maze

All about problems in Volume 2. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post 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.
The biggest problem with most problems is not how to solve the problem, but how to not solve what is not the problem.
tomtung
New poster
Posts: 3
Joined: Wed Jun 06, 2007 7:18 am
Location: Lanzhou, Gansu, China
Contact:

AC

Post 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?
And miles to go before I sleep,
and miles to go before I sleep...
little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post 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.
The biggest problem with most problems is not how to solve the problem, but how to not solve what is not the problem.
tomtung
New poster
Posts: 3
Joined: Wed Jun 06, 2007 7:18 am
Location: Lanzhou, Gansu, China
Contact:

Post by tomtung »

Done. Thanks again:)
And miles to go before I sleep,
and miles to go before I sleep...
Post Reply

Return to “Volume 2 (200-299)”