Code Monkey home page Code Monkey logo

tjudger's People

Contributors

kzime avatar szdytom avatar timhsue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tjudger's Issues

Load stack size limit fail

我在运行test/test.c时,提示Load stack size limit fail,然后每个文件都CE,请问是这么回事?

无论如何都返回Dangerous System Call

系统环境:ubuntu20.04 LTS

我执行python setup.py install
然后在test目录下执行sudo python test.py
结果Resualt全部是DSC

AC Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'AC/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
AC Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 276L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

WA Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'WA/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
WA Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 268L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

RE Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'RE/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
RE Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 272L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

TLE Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'TLE/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
TLE Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 268L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

MLE Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'MLE/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
MLE Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 272L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

OLE Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'OLE/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
OLE Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 272L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

MLE(stack) Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'MLE(stack)/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
MLE(stack) Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 272L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

CE Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'CE/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
CE Result:
{'status': 'Compile Error', 'use_memory': 0L, 'score': 0L, 'compile_info': 'CE/lll.cpp:2:1: error: \xe2\x80\x98sad\xe2\x80\x99 does not name a type; did you mean \xe2\x80\x98std\xe2\x80\x99?\n    2 | sad\n      | ^~~\n      | std\n', 'use_time': 0L}

DSC Config:
{'compile option': ['-O2', '-lm', '-DONLINE_JUDGE'], 'time_limit': 1000, 'source_name': 'DSC/lll.cpp', 'in_file': 'lll.in', 'language': 'C++', 'memory_limit': 64, 'ans_file': 'lll.ans', 'out_file': 'lll.out'}
DSC Result:
{'status': 'Dangerous System Call', 'compile_info': '', 'use_memory': 272L, 'in': '1200 34\n\n', 'use_time': 0L, 'score': 0L, 'ans': '1234\n', 'out': ''}

没有TJudger.log被创建。

ps:
抱歉又打扰了,我正在写一个OJ,想用TJudger为测评机。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.