Documentation ¶
Index ¶
Constants ¶
View Source
const ( BasePath = "/sxu-judger" CodePath = BasePath + "/code" TmpPath = BasePath + "/run" OutputPath = BasePath + "/output" SamplePath = BasePath + "/sample" )
View Source
const ( SUCCEED = iota LOOKUP_FAILED COMPILE_FAILED )
View Source
const ( StatusAC = 1 StatusWA = 2 StatusCE = 3 StatusRE = 4 StatusTLE = 5 StatusMLE = 6 StatusOLE = 7 StatusPE = 8 StatusSE = 9 )
Variables ¶
This section is empty.
Functions ¶
func GetJudgeStatus ¶
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
func (*Compiler) Run ¶
func (c *Compiler) Run() (_result *CompileResult)
Click to show internal directories.
Click to hide internal directories.