hustoj
hustoj copied to clipboard
C和C++用judge_client调试模式重判正常,但是页面直接提交RE
在前端页面提交会显示以下错误:
/1000/sample.in:[ERROR] solution_id:1063 called a Forbidden system call:0 [0] TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h , and recompile judge_client. if you are admin and you don't know what to do , chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
但在后台用judge_client id 0 /home/judge/debug
命令判题正常。
(系统是Ubuntu18.04 64位 server版,已经在okcalls64里添加过callid了)
ps aux|grep judged 看一下judged进程是不是用root账户启动的?