计算机与现代化 ›› 2010, Vol. 1 ›› Issue (6): 166-0169.doi: 10.3969/j.issn.1006-2475.2010.06.047

• 应用与开发 • 上一篇    下一篇

基于Linux的ACM在线评测系统研究

杨志伟,曾艳姗   

  1. 仲恺农业工程学院计算科学系,广东 广州 510225
  • 收稿日期:2010-02-04 修回日期:1900-01-01 出版日期:2010-07-01 发布日期:2010-07-01

Research on ACM Online Judge System Based on Linux

YANG Zhi-wei, ZENG Yan-shan   

  1. Department of Computer Science, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
  • Received:2010-02-04 Revised:1900-01-01 Online:2010-07-01 Published:2010-07-01

摘要: ACM竞赛是目前计算机水平最高的国际大学生程序设计竞赛,而ACM在线评测系统则是根据竞赛需求而提供的一个培训平台。由于Linux系统具有安全性高、稳定等优点,目前大部分服务器都是使用Linux系统。本文提出一个基于Linux的ACM在线评测系统,详述该系统中编译、测试、获取计算机消耗情况、返回测试结果这几种功能的具体实现。并分析该系统中可能出现恶意占用资源、恶意调用系统等不安全因素,提出相应的解决方案。该系统具有实用性强、安全性好等优点。

关键词: ACM在线评测系统, Linux, 编译

Abstract: ACM contest is regarded as the one with the largest scale and highest level for international collegiate programming contest in the computer world. To meet the requirement of this contest, ACM online judeg system provides a training platform. So far most servers adopt Linux as their operation system due to its advantages like high security, stabilization etc. This paper proposes a ACM online judeg system based on linux and specifies its concrete realization of functions, like compling, testing, acquiring the information of computer consumption and returning the testing results. What’s more, the system can identify the hazards and threats leading to malicious resources occupation and malicious system call, then puts forward corresponding solutions. The advantages of this system include practicability, high security and so on.

Key words: ACM online judge system, Linux, compile

中图分类号: