same env as judge...
Moderator: Board moderators
-
- New poster
- Posts: 1
- Joined: Sat Apr 24, 2004 4:25 pm
same env as judge...
..does anybody know if there is somewhere on the net compiler-pack, same as judge.
i mean - without restricted functions, same stl implementation, etc?
i mean - without restricted functions, same stl implementation, etc?
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
Oh! Thank you for your correction. Right you are. I answered wrong. I thought he wanted to know how special features of the compiler of judge (restricted function, no file access) works.
The later post is correct. It works on gcc .
Thank you.
The later post is correct. It works on gcc .
Thank you.
"Everything should be made simple, but not always simpler"
Pardon for my harshness, but gcc 2.95 - it's just a shame! Valladolid is boasting of using the advanced OS and software (http://acm.uva.es/problemset/computer.html), and at the same time - gcc2.95 which is an ancient, ancient compiler. It just sucks, did you know that gcc3.4 existed? Install at least gcc3.2, is it so freaking difficult?Krzysztof Duleba wrote:The OJ works on gcc 2.95.
Please don't be rude!alexkro wrote:Pardon for my harshness, but gcc 2.95 - it's just a shame! Valladolid is boasting of using the advanced OS and software (http://acm.uva.es/problemset/computer.html), and at the same time - gcc2.95 which is an ancient, ancient compiler. It just sucks, did you know that gcc3.4 existed? Install at least gcc3.2, is it so freaking difficult?Krzysztof Duleba wrote:The OJ works on gcc 2.95.
There are many implications in changing the compiler in the online-judge which you may not be aware of, it surely isn't simply a matter of installing a compiler.
For a start you may consider the fact that newer versions of the compiler may increase significantly the load on the judge. Probably that's not what you want.
Ciao!!!
Claudio
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
Well, maybe that page wasn't simply updated for a long time. You know, few years ago gcc 2.95 was really, really advanced.Valladolid is boasting of using the advanced OS and software (http://acm.uva.es/problemset/computer.html)
That's true. Due to low server performance OJ doesn't even use optimalization options as they increase compilation time significantly.For a start you may consider the fact that newer versions of the compiler may increase significantly the load on the judge. Probably that's not what you want.
Another thing is that code compiled with different compilers may produce different output. Rejudging all the past submissions doesn't sound good.
-
- Learning poster
- Posts: 53
- Joined: Sat May 01, 2004 9:31 pm
- Contact:
I think the harshness is justified, to some degree. A better compiler would be much appreciated. I'm sick of getting everything working on my own computer just fine, only to have a TLE or RTE on the OJ where there's no reason for one. At least with a compile error it tells me what went wrong! There's just no reason I should have 20+ erroneous submissions for #209 when my logic is correct. (And I still don't have AC!)
_-(GPI)-_
"Finally I have freed myself from the clutches of the garbage fairy!"
"Finally I have freed myself from the clutches of the garbage fairy!"
-
- Guru
- Posts: 724
- Joined: Wed Dec 19, 2001 2:00 am
- Location: Germany
I think you won't find a compiler that will tell you that passing a char pointer that points to nowhere to getline is no good ideaThere's just no reason I should have 20+ erroneous submissions for #209 when my logic is correct.

And the old compiler has also some advantage: you don't have to write
using namespace std;
whereas gcc 3.2 requires this line whenever you use some STL library.
I'd say when you don't know the reason...GreenPenInc wrote:I think the harshness is justified, to some degree. A better compiler would be much appreciated. I'm sick of getting everything working on my own computer just fine, only to have a TLE or RTE on the OJ where there's no reason for one.
Ciao!!!
Claudio
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
-
- Guru
- Posts: 724
- Joined: Wed Dec 19, 2001 2:00 am
- Location: Germany
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact: