Page 1 of 1

Compilation error

Posted: Sat Oct 25, 2003 1:45 pm
by nal
----- Original Message -----
From: Valladolid Online Judge <lawyer@acm.uva.es>
Date: Sat, 25 Oct 2003 13:35:45 +0200
To: <MY EMAIL ADDRESS>
Subject: [653] Compile Error: C

Dear nal:

The compiler couldn't compile your ANSI C/C++ or GNU Pascal/Java program.

[Notes: - Select C, C++, JAVA or PASCAL in the @JUDGE_ID field, to ensure that
I'll use the proper compiler. Place a 'program...' sentence in Pascal.
Note that entry point in Java is a 'main' function in a 'Main' class.
- Do not use more than 1024 characters per line, or 40,000 bytes per
program, if you are submitting your programs by E-Mail.
- Do not use '//' comments except in C++ programs [And Note that this
is not Borland C or Turbo Pascal!].
- Some mail tools reformat your text or the standard mail headers.
I compiled the lines I resent you in the "Program Received" message.
(if your mail system adds extra lines to your letter, please include
a "@end_of_source_code" string after the last source code line).

Here are the compiler error messages:

g++: 00001653_PC.c: No such file or directory
g++: No input files

--

PS: Check the board at http://acm.uva.es/board/


------------------------------------------

didn't know what to do during the contest or why this error, is it a bug
sorry if i missed to see a bugs section and posted it wrongly here
nal

The Online Judge for Programming Contests
Judge software version 2.8 (Local UVa'2003)
Sat Oct 25 13:35:45 CEST 2003

Posted: Sat Oct 25, 2003 4:03 pm
by shamim
One reason for getting compile error is using a mail server system to submit your program. Manny mailserver provide additional messages that may corrupt your original code, hence you may get compile error.

Posted: Tue Dec 23, 2003 2:48 pm
by Tahseen Mohammad
I got the same compiler error in the last IIUC contest.
I got the code compiled in a Redhax linux (possibly version 8.0)
but got CE in OJ.

Finally I got the code AC after changing a variable name "map" to "maps".
But that shouldn't have conflicted with STL map as I haven't used
"using namespace std" & it got compiled in a g++ compiler in linux.

I am lost here. Got 5 CE and lost 40 minutes in the contest.
Really upset. :cry:

Can anybody give an explanation.

Note: nal you may check if there is a possibility of variable/function
name conflict.