张浩斌
张浩斌
按此更新修改源码 https://github.com/zhblue/hustoj/commit/6c8672a7c0c477a39d4e9a78f202375ec7beb5f5 这样导出的时候按原始顺序导出了
``` SELECT problem_id,num FROM problem p inner join (select problem_id id,num from contest_problem where contest_id=?) cp on p.problem_id=cp.id order by cp.num ``` 直接到数据库测试一下, ? 替换为你要导出的比赛
可以修改安装脚本,跳过docker.sh,安装完成后,修改Dockerfile,更换你访问快的源,然后执行docker.sh
你这个需求只需要修改db_info.inc.php里面的 $OJ_SHOW_DIFF 为 false 至于对judge_client的修改, 要注意修改judge.conf里的OJ_INTERNAL_CLIENT=0,并重启judged才能让你在外面编译的judge_client生效。
db_info.inc.php $OJ_VCODE=false; if you already did that , try rejudge those solution stucking in 2 or 3 , using the Admin Panel.
https://github.com/zhblue/hustoj/compare/9e043c7441b09cd91422571c4b50d1035e91bb78...8c57e3d39c24c64360c8a56fbb6f7cc28f395746
编译用make命令
https://github.com/zhblue/hustoj/blob/master/trunk/core/judge_client/judge_client.cc#L2840 only one {
package script caused a conflict, fixed.
个人感觉这几个地方无伤大雅,要么你可以自己源码里改一下。 一个是viewnews.php,一个是index.php。