GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Kelab/code-runner: 一个判题沙箱;可根据判题数据,判定用户程序的运行结果以及获取用户程序运行时间和内存消耗、可隔离程序网络。

BranchesTags
Open more actions menu

Latest commit

 

History

115 Commits
115 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
docs
docs
 
 
src
src
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
mkdocs.yml
mkdocs.yml
 
 
xmake.lua
xmake.lua
 
 

Repository files navigation

code-runner

一个运行用户程序的工具。

根据判题数据,判定用户程序的运行结果以及获取用户程序运行时间和内存消耗。

判题结果会以 JSON 格式输出到标准输出中。

{
  "status": 0,
  "cpu_time_used": 2,
  "cpu_time_used_us": 1870,
  "real_time_used": 15,
  "real_time_used_us": 14849,
  "memory_used": 1516,
  "error_code": 0,
  "signal_code": 0,
  "exit_code": 0
}

文档

查看文档:https://kelab.github.io/code-runner/

致谢

项目中使用到的开源库链接:

  • rxi/log.c

参考、使用、改写了以下项目的部分代码:

  • ioi/isolate
  • 1510460325/judge-runner
  • dojiong/Lo-runner
  • QingdaoU/Judger

感谢上述提到的所有仓库以及开发人员。

About

一个判题沙箱;可根据判题数据,判定用户程序的运行结果以及获取用户程序运行时间和内存消耗、可隔离程序网络。

kelab.github.io/code-runner/

Topics

code-runnercode-sandboxjudge-systemjudgeronline-judge

Resources

Readme
MIT license
Activity
Custom properties

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.