Compiler version

Write here if you have problems with your C source code

Moderator: Board moderators

Post Reply
scottaugust
New poster
Posts: 18
Joined: Thu Jun 20, 2002 4:54 pm

Compiler version

Post by scottaugust »

Judge,

Could you add a section to the versions link that shows the compiler versions as well as the online judge version?

I am able to compile my code, however judge response states compiler error. Since I don't know what the version that the judge uses is, I am not able to determine what the problem is.

Thanks,
Scott
hicham
New poster
Posts: 6
Joined: Thu Jan 15, 2004 7:47 am

Post by hicham »

Hello,

Have you learned anything new about this matter? I also need to know exact compiler version. I have some trouble compiling on judge too, also some trouble with inline asm. If you have any information on this subject would be greatful if you could share it.

Cheers
scottaugust
New poster
Posts: 18
Joined: Thu Jun 20, 2002 4:54 pm

Post by scottaugust »

I have yet to hear anything about the adding any documentation about compiler versions. I hope to soon.
Krzysztof Duleba
Guru
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland
Contact:

Post by Krzysztof Duleba »

AFAIK the judge is gcc 2.95, compiling with -ansi option.
rjhadley
Learning poster
Posts: 73
Joined: Mon Oct 14, 2002 7:15 am
Location: United States

Post by rjhadley »

I think they've upgraded their compiler recently as I've gotten a few "new judgements" in the past month or so that went from AC to CE. :-(
Krzysztof Duleba
Guru
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland
Contact:

Post by Krzysztof Duleba »

You can try to submit code with
[cpp]#include <hash_set.h>[/cpp]or[cpp]#include <ext/hash_set>[/cpp]or[cpp]#include <backward/hash_set.h>[/cpp]
The last two will work only on g++ version 3. Of cource, if hash sets are disabled on OJ (I don't know), then you'll get CE and no info.
You can also try
[cpp]#include <backward/set.h>[/cpp]If directory backward exists at all, then it's g++ 3.
jjtse
Learning poster
Posts: 80
Joined: Mon Aug 22, 2005 7:32 pm
Location: Nevada, US
Contact:

Post by jjtse »

This topic's over a year old. I'm wondering what verion compiler they use now. Cause I'm using 3.2 and it compiles fine. The judges say compiling error.
Krzysztof Duleba
Guru
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland
Contact:

Post by Krzysztof Duleba »

There were no software updates since then and most likely there will be no in future.
Post Reply

Return to “C”