that there's a bug in the judge unfixed in all this time.
I suggest you take this judge offline until you have a chance
to fix it.
REASON: it is very discouraging to have a good program
rejected in one of the first problems you try.

I could not figure out why my solution was reported as WA,
and found a Forum thread where someone else has the same
problem. Check out
http://online-judge.uva.es/board/viewtopic.php?t=10932
There's a program given there that is scored Accepted, but
which has a bug. It gives the wrong answer on the input
5 2
41 595
291 836
350 602
483 548
537 624
But this program was graded Accepted. My own (and some
other people's) programs give the correct result, but are scored
Wrong Answer by the judge. I submitted the broken program
just to see if this was the case. I have edited it slightly to
keep my g++ compiler happy, and to remove a presentation
problem, but it is still broken and still got Accepted.
My own program failed in test ID 5174216
The broken program was accepted in ID 5174527
So I'm graded as having completed problem 103, but this is
wrong because:
-- that wasn't my code. I don't want credit for it.
-- the code is actually broken.
I can't be sure that my program would pass a corrected judge,
of course, because I don't know what is being judged as wrong.