Search found 9 matches

by alexkro
Sat Oct 02, 2004 10:49 pm
Forum: Java
Topic: Memory usage in Java
Replies: 1
Views: 1792

You consider Java an overhead-free language. This is not true. There is runtime data associated with each object. That data is usually needed for garbage collector, reflection, casts, virtual tables etc. This is what you don't see, but what JVM needs when it executes your program. You can ask the pr...
by alexkro
Mon Sep 27, 2004 10:29 pm
Forum: Volume 104 (10400-10499)
Topic: 10401 - Injured Queen Problem
Replies: 19
Views: 9913

Re: 10401

Never mind. I found it.
by alexkro
Mon Sep 27, 2004 11:34 am
Forum: Volume 104 (10400-10499)
Topic: 10401 - Injured Queen Problem
Replies: 19
Views: 9913

10401

Could you help me with this problem? I receive SIGABRT. Obviously one of the asserts fires. If I remove all asserts I get SIGSEGV which is what I expect. But I can't see how any input can lead to SIGABRT. I tried different input parameters but I couldn't find any that can crash this program. [cpp] /...
by alexkro
Sun Sep 26, 2004 10:37 am
Forum: C++
Topic: C++ compiler ?
Replies: 2
Views: 1873

Dominik Michniewski wrote:gcc - you can found which exactly version searching board for "gcc compiler"
very helpful response. you could just write the versoin number instead. the search produces gazilion of results, then you have to read them to fish for the version number. it's time to include this info into faq.
by alexkro
Fri Apr 30, 2004 9:28 am
Forum: C++
Topic: same env as judge...
Replies: 12
Views: 3158

The OJ works on gcc 2.95. 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...
by alexkro
Mon Jun 30, 2003 11:20 am
Forum: C++
Topic: Is namespace __gnu_cxx (using g++ > 3) permitted ?
Replies: 5
Views: 2552

Well, for the compiler used by the online judge you even don't need to use "using namespace std;". Because the compiler the online judge uses is not a standard conforming one. And perhaps in replies about compilation errors it shouldn't say that an ANSI C/C++ compiler is used, because it's simply n...
by alexkro
Mon Jun 30, 2003 1:14 am
Forum: C++
Topic: Is namespace __gnu_cxx (using g++ > 3) permitted ?
Replies: 5
Views: 2552

I doubt it's available.

I think it's better to be portable and use C++ standard only. std::map is not much slower than hash_map after all.
by alexkro
Sun Jun 29, 2003 10:47 am
Forum: C++
Topic: What version g++ is used?
Replies: 1
Views: 1632

What version g++ is used?

Hi, The following code which compiles just fine with g++ 3.2 gives me an error from the Valladolid compiler: 01688991_24.c: In function `void print(ostream &, double, int)': 01688991_24.c:21: `::ios_base' undeclared (first use here) 01688991_24.c:21: parse error before `::' [cpp]#include <iostream> ...
by alexkro
Sun Jan 12, 2003 12:32 pm
Forum: Volume 103 (10300-10399)
Topic: 10377 - Maze Traversal
Replies: 26
Views: 9792

10377 getting TLE!? What's wrong???

My program works correctly on sample input, but it gets "wrong output" if I submit it. what could be wrong? Are there any special cases not described clearly?

Go to advanced search