mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
16 lines
432 B
Go
16 lines
432 B
Go
package types
|
|
|
|
import "github.com/criyle/go-judge/file"
|
|
|
|
// JudgeTask contains task received from server
|
|
type JudgeTask struct {
|
|
Type string // defines problem type
|
|
TestData []file.File // test data (potential local)
|
|
Code SourceCode // code & code language / answer submit in extra files
|
|
|
|
// task parameters
|
|
TileLimit uint64
|
|
MemoryLimit uint64
|
|
Extra map[string]interface{} // extra special parameters
|
|
}
|