Why don't show the Compilation Error Message from the gcj?

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
royjp
New poster
Posts: 2
Joined: Sun Dec 05, 2004 1:18 am

Why don't show the Compilation Error Message from the gcj?

Post by royjp »

I have JSDK 1.42 here, my codes always compiles here, but almost always I get CE when I submit.

If its to hard to update the JSDK here, why don't let us see what was the compilation error (the message from the compiler) that has the number of the line that is with problem....

Would be easier to update the JSDK or to show the compilation error menssage?
randomtaiwanese
New poster
Posts: 32
Joined: Fri Oct 01, 2004 10:53 pm

Post by randomtaiwanese »

i would be... euphoric... if they update the compiler...
currently they are using a compiler that supports up to J2SDK 1.1...
if they update to atleast 1.2, atlease with the BigInteger class, many problems can be sloved within milliseconds!
Sedefcho
A great helper
Posts: 374
Joined: Sun Jan 16, 2005 10:18 pm
Location: Bulgaria

Post by Sedefcho »

The BigInteger has nothing to do with jdk 1.2
Even if they allow support for jdk 1.2, I doubt that
they will allow the usage of the BigInteger class. This
will make no sense. I, myself, am against that as this
will make many problems related to BigNumbers not
interesting any more.
Larry
Guru
Posts: 647
Joined: Wed Jun 26, 2002 10:12 pm
Location: Hong Kong and New York City
Contact:

Post by Larry »

Many onsite programming contests do support Big Int (if they allow java, of course). Solving Big Integer is a one-trick pony - once you've done it, that's all.

I think it's useless to ask someone to do it over and over again. It's just annoying, but it's copy and paste anyhow. The "trick" is to recognize that BigInteger is needed, and nothing more.

Many problems with BigInt shouldn't be about BigInt - other than the most basic ones. It should be about combinatorics and the math behind getting that number, with the side effect that these numbers grow very fast. BigInt is usually _not_ a problem at all. If you want to do exclusively BigInt problems, then you can write your own class.. and be interested once.

You should penalize people with WA's if people does not know/realize that a problem requires BigInt, and not the fact that they now either a) copy and paste from an old solution/class or b) be frustrated as a relatively newcomer that they have to write BigInt for this specifically.

And, you're not really penalizing people who are determined anyhow. If someone really don't want to write a BigInt class, BigInteger.java is open - as in, you can see the source code. So, theortically, someone determined not to do it will just copy and paste that chunk into their code. It's moot.

Solve math problems. Not the _same_ sub-problem over and over again..
Post Reply

Return to “Java”