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?
Why don't show the Compilation Error Message from the gcj?
Moderator: Board moderators
-
- New poster
- Posts: 32
- Joined: Fri Oct 01, 2004 10:53 pm
-
- Guru
- Posts: 647
- Joined: Wed Jun 26, 2002 10:12 pm
- Location: Hong Kong and New York City
- Contact:
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..
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..
Check out http://www.algorithmist.com !