xuchuan / zoj

Automatically exported from code.google.com/p/zoj
GNU General Public License v3.0
0 stars 0 forks source link

Incorrect result of Special Judge #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please refer to:
http://acm.zju.edu.cn/forum/viewtopic.php?f=8&t=6070

I've checked this submission:
http://acm.zju.edu.cn/onlinejudge/showSubmission.do?submissionId=1730109
with the input/output of 2597 in the problem set, and the checker program 
accepted it.
Both the submission and checker are compiled with the options in this page:
http://10.71.101.192/onlinejudge/faq.do

Please check what problem it is.

Original issue reported on code.google.com by Charizar...@gmail.com on 17 Oct 2008 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by xuch...@gmail.com on 17 Oct 2008 at 7:51

GoogleCodeExporter commented 9 years ago
The user has reported that there're a lot of Judge Internal Error of problem 
2567.
And I've checked this submission:
http://acm.zju.edu.cn/onlinejudge/showSubmission.do?submissionId=1730595
It is accepted by the checker.
Please check why the reply is Judge Internal Error

Original comment by Charizar...@gmail.com on 18 Oct 2008 at 4:06

GoogleCodeExporter commented 9 years ago

Original comment by Charizar...@gmail.com on 18 Oct 2008 at 4:06

GoogleCodeExporter commented 9 years ago
From the judge log, you can see that the special judge opens files with 
O_WRONLY 
which is not allowed now for security reasons. Updating the special judge will 
solve 
the problem. The easiest way is to use ifstream instead of fstream. However, I 
don't 
find a way to update the problem on web, so I just update the file cache on 
disk as a 
temporary solution. Would you please take a look?

Original comment by xuch...@gmail.com on 18 Oct 2008 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by Charizar...@gmail.com on 18 Oct 2008 at 10:44