----- 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
Compilation error
Moderator: Board moderators
Compilation error
-----------------------------------------
#define ME GOD
#define YOU DOG
(doesn't hurt many at the end of the code)
#define ME GOD
#define YOU DOG
(doesn't hurt many at the end of the code)
-
- Learning poster
- Posts: 54
- Joined: Sun Oct 28, 2001 2:00 am
- Location: Bangladesh
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.
Can anybody give an explanation.
Note: nal you may check if there is a possibility of variable/function
name conflict.
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.

Can anybody give an explanation.
Note: nal you may check if there is a possibility of variable/function
name conflict.