fix: improve rejudge
This commit is contained in:
parent
48ad3a5461
commit
5832e83460
2 changed files with 15 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue