1、 I 程序在线评测系统 后台评测模块 摘摘 要要:ACM 国际大学生程序设计竞赛,是一项旨在展示大学生创新能力、 团队精神和在压力下编写程序、分析和解决问题能力的年度竞赛。经过近 30 多 年的发展, ACM 国际大学生程序设计竞赛已经发展成为最具影响力的大学生计算 机竞赛。随着其发展,各高校也越来越重视这项竞赛,广东外语外贸大学的程序 在线评测系统也应运而生。在这个平台中,用户只需要提交他们的代码,系统就 可以自动地为其程序做出相应的评测, 并且返回相应的评测结果。 通过这个平台, 用户不但可以巩固学科知识,也可以大大提高代码的实践能力。 后台评测模块主要负责对用户提交的源程序进行编译, 运
2、行, 得到是评测结 果再反馈给用户。 关键词关键词:在线评测,程序设计,ACM II Online Judge System Background Judge Module Abstract: ACM international collegiate programming contest, is an annual competition that aims at showing their abilitities of innovation, teamwork, programming under pressure, analysing and solving problems. Thro
3、ugh more than 30 years development, it has become the most influential computing contest for college students and been taken more seriously by many higher eduction universities and colleges, so there comes the Guangdong University of Foreign Studies Online Judge. System which can provide great conve
4、nience for programming lovers and students. Users only need to submit their code, then the system can automatically make the appropriate evaluation of its procedures, and returns the corresponding evaluation results. Wiht this platform, users can not only consolidate the academic knowledge, but also
5、 can greatly improve the ability of pratical programming. Background judge module is mainly responsible for a user to submit the source code to compile, run, and return the judge result to the user. Key words: Online judge, Programming, ACM III 目 录 摘 要 . I Abstract II 第一章 绪论 1 1.1 课题的背景、研究意义 . 1 1.2
6、 软件开发环境描述 . 1 1.3 软件运行环境描述 . 2 第二章 系统总体设计 3 2.1 模块介绍 . 3 2.2 项目分工 错误错误! !未定义书签。未定义书签。 2.3 数据流图 错误错误! !未定义书签。未定义书签。 2.4 数据库设计 错误错误! !未定义书签。未定义书签。 第三章 GOJ 内核设计 . 5 3.1 定义 . 5 3.2 性能要求 错误错误! !未定义书签。未定义书签。 3.3 判题流程 错误错误! !未定义书签。未定义书签。 3.4 接口设计 错误错误! !未定义书签。未定义书签。 第四章 内核数据结构设计 6 4.1 逻辑结构设计 . 6 4.3 出错信息 错误错误! !未定义书签。未定义书签。 4.4 补救措施 . 6 第五章 内核实现难点 7 5.1 JNI 本地调用 . 7 5.2 内存测量 错误错误! !未定义书签。未定义书签。 5.3 进程数控制 错误错误! !未定义书签。未定义书签。 5.4 连接到其他 Online Judge System 错误错误! !未定义书签。未定义书签。 第六章 结语 8 参考文献 . 9 致 谢