张浩斌

Results 214 comments of 张浩斌

哦,之前没看懂你的问题。 试试给gcc加上参数-Wreturn-type -Werror=return-type

https://github.com/zhblue/hustoj/blob/master/trunk/core/judge_client/judge_client.cc#L1272

不能,因为输入是可以自行修改的,无法确认结果是否AC

.in 里面直接放的是建表的SQL和插入基础数据的sql refer https://github.com/zhblue/freeproblemset/blob/master/fps-examples/fps-zhblue-SQL.xml#L64

SQL判题使用SQLite,如果使用docker,需要在/home/judge/install目录修改Dockerfile后执行sudo bash docker.sh

`#` 的功能是注释 去掉 ```#RUN apt-get -y install sqlite3``` 最前面的`#`

危险操作,谨慎参考,建议先用`/home/judge/src/install/bak.sh`备份数据。 例如:删除3000-3999的题目 ``` $sudo su #cd /home/judge/data #rm -rf 3??? #bash ../src/install/mysql.sh mysql>use jol mysql>delete from problem where problem_id > 2999 and problem_idquit ```

Warning只是个警告,没有什么问题

it only happened in the old time. the latest way is running python with PYTHON_FREE or USE_DOCKER which will NOT copy any libs on the fly