fix: improve rejudge

This commit is contained in:
dragonmuffin 2024-08-17 18:41:37 +05:00
parent 48ad3a5461
commit 5832e83460
2 changed files with 15 additions and 10 deletions

View file

@ -6,11 +6,12 @@ type Result int32
const (
NotTested Result = 0
Accepted Result = 1
TimeLimitExceeded Result = 2
MemoryLimitExceeded Result = 3
CompilationError Result = 4
SystemFailDuringTesting Result = 5
Testing Result = 1
Accepted Result = 2
TimeLimitExceeded Result = 3
MemoryLimitExceeded Result = 4
CompilationError Result = 5
SystemFailDuringTesting Result = 6
)
func (result Result) Valid() error {