prashantpcm94 / virtual-judge

Automatically exported from code.google.com/p/virtual-judge
1 stars 1 forks source link

How can I add an account for Codeforces? #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've wrote this line:
CodeForces      user      pw
in the accounts.conf, but it seems doesn't work, showing "Judging Error 1". 
So what is the right format to add Codeforces? Still this word?

Original issue reported on code.google.com by ForFinal...@gmail.com on 11 Mar 2013 at 11:54

GoogleCodeExporter commented 8 years ago
I think the deploy jar is out of date.
Plz check out the latest code in svn.

Original comment by xh176233...@gmail.com on 12 Mar 2013 at 1:25

GoogleCodeExporter commented 8 years ago
Thanks, now the new code works fine, but there seems to be something wrong with 
the latest submitter for URAL, same problem occured on 
http://acm.hust.edu.cn/vjudge

Original comment by ForFinal...@gmail.com on 12 Mar 2013 at 11:20

GoogleCodeExporter commented 8 years ago
Can you give some details about it ?

Original comment by xh176233...@gmail.com on 13 Mar 2013 at 2:12

GoogleCodeExporter commented 8 years ago
Sorry, I've made a mistake. http://acm.hust.edu.cn/vjudge is OK, at least for 
submissions written by C/C++. But on my own server, when I submit my code for 
URAL,  it just keep showing "Running & Judging"  and finally "Judging Error 2". 
I can make sure that my code is successfully submitted to URAL, for I can see 
an Accept in the status page, but it seems that the submitter couldn't get this 
message correctly.

Original comment by ForFinal...@gmail.com on 13 Mar 2013 at 2:54

GoogleCodeExporter commented 8 years ago
I've debugged this project on my ubuntu server yesterday, and found that in 
URALSubmitter.java, the reg in line 137 doesn't match right things. So when it 
comes to line 161, the return value of Integer.parseInt just returns an integer 
that is shorter than maxRunId, which will make the judgement always fail, and 
finally it returns Judging Error 2. As I don't know much about regular 
expression in Java, I guess there is sth. different between Linux and Win, 
which leads to this wrong outcome. So I hope if you could correct it to make 
this work on Linux. Thanks!

Original comment by ForFinal...@gmail.com on 28 Mar 2013 at 3:08

GoogleCodeExporter commented 8 years ago
The system on acm.hust.edu.cn/vjudge does run on Debian. And I always 
develop/debug on Windows.

Are you using the latest code ? 
Can you give some html snippet of it which leads to error.

Original comment by xh176233...@gmail.com on 28 Mar 2013 at 5:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Got it. I used a wrong magic number, which someone had informed me.
I'v just fixed it.

Original comment by xh176233...@gmail.com on 28 Mar 2013 at 5:52

GoogleCodeExporter commented 8 years ago
Works fine. Thanks!

Original comment by ForFinal...@gmail.com on 28 Mar 2013 at 11:29