feat: add update score function & update schema
This commit is contained in:
parent
7dad23c066
commit
65a5488726
3 changed files with 32 additions and 21 deletions
|
@ -5,13 +5,13 @@ import "time"
|
|||
type Result int32
|
||||
|
||||
const (
|
||||
NotTested Result = 0
|
||||
Testing Result = 1
|
||||
Accepted Result = 2
|
||||
Testing Result = 0
|
||||
NotTested Result = 1
|
||||
SystemFailDuringTesting Result = 2
|
||||
TimeLimitExceeded Result = 3
|
||||
MemoryLimitExceeded Result = 4
|
||||
CompilationError Result = 5
|
||||
SystemFailDuringTesting Result = 6
|
||||
Accepted Result = 6
|
||||
)
|
||||
|
||||
func (result Result) Valid() error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue