Comments (2)
Judger simply generates an output file of the submitted code. The JudgeServer compares the md5 hash value of user output file with of the correct output file to check the answer is correct. The last line is processed by rstrip(), but the inside spaces are not. You need to change the process of checking the answer.
Check the line 165 of judge_client in the JudgeServer
https://github.com/QingdaoU/JudgeServer/blob/master/server/judge_client.py
As someone who has experienced the same issue, i hope this helps!
from judger.
Thanks for your reply!
from judger.
Related Issues (20)
- Judger的文档网站挂了 HOT 1
- M1 无法正常运行沙盒 HOT 4
- 运行demo时,result=4,请问大佬有解决办法么? HOT 2
- 你好,这个 OJ 要怎么用? HOT 1
- 有没有办法可以给远程进程安装seccomp-filter? HOT 2
- Tip: use native executable with Java JNI
- 一个用go调用judger.so的第三方库
- Run judger on alpine linux container (for cloud environments) HOT 3
- Question: Do we really need root user privileges to run this Judger?
- 对于 python 文件运行,有没有对应的规则程序,现在使用c_cpp会报"signal": 31
- 关于rusage的值
- 如果你正在被设置seccomp所困扰 HOT 1
- libseccomp seems to be not working as expected
- 编译报错 HOT 3
- Problem while building module in nodejs HOT 3
- Import pandas, scipy, numpy
- Arm64 需要额外的系统调用 HOT 1
- Stack Trace is missing for Result- 4 [Runtime Error] for C and CPP languages HOT 1
- go 语言沙箱编译资源报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from judger.