51 Commits

Author SHA1 Message Date
a6d9222aea feat: allow empty input_pre and output_pre
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-28 21:08:20 +08:00
167bc3f56f chore: update default score_type
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-20 22:04:24 +08:00
1612fa4adc chore: update dockerfile 2023-02-13 18:44:48 +08:00
1fc4b9afd2 fix(judger): wrong final score when subtask scores are not all configured 2023-02-05 10:24:14 +08:00
a4371c2847 fix(judger): wrong final score when test point scores are not all configured 2023-02-05 10:24:03 +08:00
eb39c9ec04 chore(judger): show more details when judger error 2023-02-05 10:23:46 +08:00
e61141f508 fix(judger): default point score
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-04 22:05:36 +08:00
33ba0c9d4a feat: decimal score range
Co-authored-by: Baoshuo Ren <i@baoshuo.ren>
Co-authored-by: Kaifeng Lyu <vfleaking@163.com>
Co-authored-by: Haoxiang Yu <yhx12243@gmail.com>
2023-02-04 18:17:31 +08:00
74127afe25 feat(judger): add "x bytes omitted" info
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-29 18:40:28 +08:00
66acf9dba5 feat: build s2oj-remote-judger image 2023-01-20 17:54:49 +08:00
nekko
f12b3cf84e feat(judger): support non-integer time limit (#15)
All checks were successful
continuous-integration/drone/push Build is passing
本 Pull Request 通过将时间限制解析为浮点数的方式,实现了对非整数时间限制的支持。

---

ref: https://github.com/vfleaking/uoj/pull/100
2022-11-30 20:40:56 +08:00
2e53a2733f fix(judger): 完善浮点数时限功能
ref: 986c7aa4ed

Co-authored-by: Kaifeng Lyu <vfleaking@163.com>
2022-11-28 17:33:11 +08:00
2891dbf2c3 chore(judger): nyesno alias 2022-11-15 08:08:34 +08:00
5ce6490efb Revert "chore(judger): use stoi() to convert string to int"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 722d8eb479.
2022-11-09 17:04:01 +08:00
d7aea4cbbc chore(judger): add runp::double_to_itimerval 2022-11-08 15:24:21 +08:00
1e63154574 feat(judger): support non-integer time limit 2022-11-08 07:06:49 +08:00
64603588bb chore(judger/formatter): sync from uoj.ac 2022-11-07 14:03:47 +08:00
722d8eb479 chore(judger): use stoi() to convert string to int 2022-11-07 07:49:40 +08:00
844c93da84 refactor: sync code from uoj.ac 2022-11-06 10:26:21 +08:00
d41fd4d818 Revert "chore(judger): bump testlib to 6daa79fdc9c2b113be8d40f828e3dc81e67ce33d"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 34ce6fd556.
2022-10-11 14:12:03 +08:00
34ce6fd556 chore(judger): bump testlib to 6daa79fdc9c2b113be8d40f828e3dc81e67ce33d
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-10 14:43:01 +08:00
3fb14ca50d feat(judger): uoj_judger_v2 (#2)
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-06 07:30:42 +08:00
712c3b5550 fix(judger): external judger compiler system dangerous syscall
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-05 20:29:10 +08:00
7c0bdf3d8d refactor: yesno checker 2022-10-05 18:53:34 +08:00
6ad6eb2048 feat: c++20 support
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-04 21:31:28 +08:00
3ce886327f fix(judger): python2 support 2022-10-04 21:31:17 +08:00
bcf5ce8b06 feat(judger): uoj_judger_v2
All checks were successful
continuous-integration/drone/push Build is passing
ref: https://github-redirect.dependabot.com/UniversalOJ/UOJ-System/pull/113

Co-authored-by: vfleaking <vfleaking@163.com>
Co-authored-by: Yefori-Go <110314400+Yefori-Go@users.noreply.github.com>
2022-10-04 20:57:49 +08:00
c3584fa9dc fix: override existing files
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-21 21:56:31 +08:00
5e056f8e30 chore: cache apt packages 2022-09-19 21:53:12 +08:00
09d4fa0515 fix: string overflow 2022-09-18 18:49:02 +08:00
af58465477 feat: add C++14 and C++17 support 2022-09-18 10:54:13 +08:00
ee13bbcc29 fix(judger): dcea523cfc 2022-03-19 21:18:21 +08:00
dcea523cfc chore(judger): drop java support 2022-03-16 21:12:09 +08:00
8ce32618b6 fix(judger): python 2022-03-16 20:43:41 +08:00
7a7d46e057 chore: merge branch 'develop' into master 2022-03-16 20:15:43 +08:00
e92b8a4e36 feat(judger): upgrade to ubuntu:20.04 2022-03-16 20:10:44 +08:00
84503130db refactor: docker compose 2022-03-16 09:00:39 +00:00
billchenchina
507844cc61 Merge pull request #87 from daklqw/patch-2
Update judge_client
2021-04-16 10:49:51 +08:00
daklqw
8b9bc9211c Update judge_client
print(sys.stderr) => print(file=sys.stderr)
2021-04-16 10:37:37 +08:00
billchenchina
4075ac38b4 Merge pull request #86 from daklqw/patch-1
run_program_conf.h
2021-04-16 00:56:17 +08:00
daklqw
421a251ee8 run_program_conf.h
163: readable_file_name_set => writable_file_name_set
2021-04-15 20:56:07 +08:00
billchenchina
0cc5f87058 fix(judger): Let judger work on ubuntu 20.04 (#81)
* Fix judger/log/

* fix(judger): Let judger work on ubuntu 20.04

Judger stops working since 9a6f16cf1d, this commit allows judger continue working.

* fix(web): update faq.php
2021-01-26 04:23:21 +08:00
Kaifeng Lyu
09894e9913 fix(judger): fix a bug on subtask type (#75)
Currently, if there is only one subtask, the bulitin judger automatically enters the ACM mode.
However, if the subtask has type "min", the judger should not do this. This commit fixes this bug.
2020-09-26 00:07:08 +08:00
sun123t2
bd76d2c296 Improved .gitignore (#66)
* Added gitignore

* Improved gitignore
2020-08-01 15:27:46 +08:00
Leo Lu
594289ffc7 Fixed git ignore issue. 2020-07-14 22:03:45 +08:00
Masco Skray
8ca70fc87c fix(judger): support Java updated to 8u222 and 11.0.4
Allow reading cpu,cpuacct and new syscall requirement.
2019-10-01 10:10:00 +08:00
Masco Skray
73aec02216 feat(install): add options to choose which judger component to build
For only web, there is no need to build checkers.
There are so many checkers that will slow down make speed.
Also for some situations, users can build checkers without runners.
2019-07-16 18:28:00 +08:00
Masco Skray
a642895253 style(judger,web): do not specify minor version to Python2
Python 2 is Python 2, Python 2.7 is also Python 2.
So why Python 2.7 is Python 2.7?
Make things tidy.
2019-06-28 16:40:41 +08:00
Masco Skray
d030c261b2 feat(judger,web): drop Java7, add Java11 with OpenJDK
Java 7 is now out of support. A large number of people use Java 8.
As the latest Java LTS version, now add support for Java 11.
Due to the policies from Oracle, SunJDK is replaced.
2019-06-28 16:00:40 +08:00
Masco Skray
d650f87f32 feat(judger): upgrade judge_client from py2 to py3
Upgrade judge_client from Python 2 to Python 3.
Add back and support a new judger update method.
Remove the Makefile outside of the folder which not contain any C file.
2019-06-28 14:00:20 +08:00