Skip to content

🎯The online judge system submit script of One Student One Chip project.

License

Notifications You must be signed in to change notification settings

oscc-web/ysyx-oj-submit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

一生一芯计划在线评测系统提交脚本

Project Version License
GitHub Watchers GitHub Stars GitHub Forks

中文简体 | English

使用

下载仓库

$> cd your-workspaces
$> git clone git@github.com:oscc-web/ysyx-oj-submit.git

配置脚本

首先将此脚本复制到你需要提交的目录下,然后使用编辑器打开脚本修改下面两行。第一行的TOKEN是管理员分配给每位用户的唯一标识码,用于提交代码时的身份识别。第二行的PROBLEM_ID是问题的标识码,用户需要根据提交的问题来进行设置。注意:提交的目录下必须包含有Makefile文件,且文件中至少包含allrun两个命令用于编译和运行。

TOKEN=""
PROBLEM_ID=""

问题与标识码的对应列表请使用下面命令进行查看:

$> ./submit.sh -p

运行脚本

$> ./submit.sh

更新仓库

$> cd your-workspaces/ysyx-oj-submit
$> git pull

About

🎯The online judge system submit script of One Student One Chip project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published