强大、安全、领先的评测机
Go to file
2020-10-22 10:01:18 +00:00
proto Update 2020-10-22 10:01:18 +00:00
runner Update 2020-08-30 18:15:48 +08:00
src Update 2020-10-22 10:01:18 +00:00
.gitignore Update 2020-10-22 10:01:18 +00:00
build.rs Update 2020-08-22 23:22:59 +08:00
Cargo.toml Update 2020-10-22 10:01:18 +00:00
Dockerfile 移除对 macOS 的支持(因为关键的特性做不到) 2020-09-07 17:44:41 +08:00
LICENSE Initial commit 2020-01-23 23:06:24 +08:00
README.md Update 2020-10-22 10:01:18 +00:00

river

环境要求

  • linux

Example

{
  "language": 0,
  "judge_type": 0,
  "compile_data": {
    "code": "I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewogIHByaW50ZigiSGVsbG8gV29ybGQhXG4iKTsKICByZXR1cm4gMDsKfQ=="
  },
  "judge_data": {
    "in_data": "SGVsbG8gV29ybGQh",
    "out_data": "SGVsbG8gV29ybGQh",
    "time_limit": 1000,
    "memory_limit": 65535
  }
}

TODOs

  • 修改为文件形式的输入输出,为了这部分的优化我浪费了太多的时间,最后发现过早的优化果然是万恶之源。