修改判题端的部分 bug

This commit is contained in:
virusdefender
2015-08-13 18:15:00 +08:00
parent 5273e9a48d
commit da03f902c5
3 changed files with 33 additions and 10 deletions

View File

@@ -58,7 +58,7 @@ class JudgeClient(object):
# todo 系统调用白名单 chroot等参数
command = "lrun" + \
" --max-cpu-time " + str(self._max_cpu_time / 1000.0) + \
" --max-real-time " + str(self._max_real_time / 1000.0) + \
" --max-real-time " + str(self._max_real_time / 1000.0 * 2) + \
" --max-memory " + str(self._max_memory * 1000 * 1000) + \
" --network false" + \
" --uid " + str(lrun_uid) + \