期刊文献+

基于Docker的Online Judge容器设计与实现

Design and Implementation of Online Judge Container Based on Docker
下载PDF
导出
摘要 在LeetCode、ACWing等各大OnlineJudge网站中,每时每刻都有无数的代码在编译运行。但这些网站上提交的代码都是为了解决该网站题库中给定的某一道算法题,不仅规定了程序的标准输入输出,还限制了运行时长和内存占用,有一定局限性。在新冠疫情期间,开设计算机课程的大学也急需搭建符合学校教学需求的OnlineJudge以正常开展线上课程。针对上述两个问题,文章设计并实现了基于Docker技术的Online Judge容器。其能编译程序源代码和运行程序二进制文件,期间能动态地更改程序的标准输入、运行时长与内存占用,并对容器作了一定的防护,具有一定的安全性,还易于分布式拓展。 In major Online Judge websites such as LeetCode and ACWing,countless codes are compiled and run all the time.However,the code submitted on these websites is to solve an algorithm problem given in the website’s question bank.It not only stipulates the standard input and output of the program,but also limits the running time and memory usage,which has certain limitations.During the COVID-19,universities offering computer courses also urgently need to build Online Judge that meets our teaching needs in order to run online courses normally.Aiming at the above two problems,this paper designs and implements an Online Judge container based on Docker technology.It can compile the source code of the program and run the binary file of the program,dynamically change the standard input,running time and memory occupation of the program,and protect the container to a certain extent.It has certain security,and is easy to expand distributed.
出处 《大众科技》 2022年第9期14-17,13,共5页 Popular Science & Technology
基金 广西区大学生创新创业训练计划立项项目(202010595168、202110595158)。
关键词 在线判题容器 Online Judge DOCKER Online Judge container Online Judge Docker
  • 相关文献

参考文献5

二级参考文献48

共引文献29

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部