Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JudgeStatus ¶
type JudgeStatus string
const ( Pending JudgeStatus = "Pending" PartiallyCorrect JudgeStatus = "PartiallyCorrect" WrongAnswer JudgeStatus = "WrongAnswer" Accepted JudgeStatus = "Accepted" SystemError JudgeStatus = "SystemError" JudgementFailed JudgeStatus = "JudgementFailed" CompilationError JudgeStatus = "CompilationError" FileError JudgeStatus = "FileError" RuntimeError JudgeStatus = "RuntimeError" TimeLimitExceeded JudgeStatus = "TimeLimitExceeded" MemoryLimitExceeded JudgeStatus = "MemoryLimitExceeded" OutputLimitExceeded JudgeStatus = "OutputLimitExceeded" InvalidInteraction JudgeStatus = "InvalidInteraction" ConfigurationError JudgeStatus = "ConfigurationError" Canceled JudgeStatus = "Canceled" )
func (*JudgeStatus) Scan ¶
func (p *JudgeStatus) Scan(value interface{}) error
func (JudgeStatus) TableName ¶
func (JudgeStatus) TableName() string
type Page ¶
type Page struct { Model Title string `json:"title" gorm: "index: title; not null"` // title TimeLimit uint64 `json:"time_limit"` // in ms MemoryLimit uint64 `json:"memory_limit"` // in MB Description string `json:"description"` InputFormat string `json:"input_format"` OutputFormat string `json:"output_format"` Example string `json:"example"` HintAndLimit string `json:"hint_and_limit"` FileIoInputName string `json:"file_io_input_name"` FileIoOutputName string `json:"file_io_output_name"` }
type Submission ¶
Click to show internal directories.
Click to hide internal directories.