Compilation error

Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.

Moderator: Board moderators

Post Reply
nal
New poster
Posts: 2
Joined: Wed Jul 30, 2003 6:34 pm

Compilation error

Post 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
-----------------------------------------
#define ME GOD
#define YOU DOG
(doesn't hurt many at the end of the code)
shamim
A great helper
Posts: 498
Joined: Mon Dec 30, 2002 10:10 am
Location: Bozeman, Montana, USA

Post 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.
Tahseen Mohammad
Learning poster
Posts: 54
Joined: Sun Oct 28, 2001 2:00 am
Location: Bangladesh

Post 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.
Post Reply

Return to “Other words”