feat: add update score function & update schema

This commit is contained in:
dragonmuffin 2024-08-18 13:18:00 +05:00
parent 7dad23c066
commit 65a5488726
3 changed files with 32 additions and 21 deletions

View file

@ -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 {