Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckerHcmp ¶
type CheckerHcmp struct { }
Compares two signed huge (big) integers. Validates that both integers (in the output and in the answer) are well-formatted.
func (CheckerHcmp) Label ¶
func (r CheckerHcmp) Label() (inputlabel []string, outputlabel []string)
type CheckerTestlib ¶
type CheckerTestlib struct { }
Execute testlib checker
func (CheckerTestlib) Label ¶
func (r CheckerTestlib) Label() (inputlabel []string, outputlabel []string)
type Compiler ¶
type Compiler struct { }
Compile source file in all language. For input files, "source" represents source file, "script" represents bash script to compile, where $1 gives source file path and $2 gives output file path
type CompilerAuto ¶
type CompilerAuto struct { }
Compile source file in all language. Time limitation: 1min.
func (CompilerAuto) Label ¶
func (r CompilerAuto) Label() (inputlabel []string, outputlabel []string)
type CompilerTestlib ¶
type CompilerTestlib struct { }
Compile codeforces testlib source file using g++. For input files, "source" represents source file.
func (CompilerTestlib) Label ¶
func (r CompilerTestlib) Label() (inputlabel []string, outputlabel []string)
type GeneratorTestlib ¶
type GeneratorTestlib struct { }
Execute testlib generator. Arguments in "arguments" are seperated by space.
func (GeneratorTestlib) Label ¶
func (r GeneratorTestlib) Label() (inputlabel []string, outputlabel []string)
type Inputmaker ¶
type Inputmaker struct { }
Inputmaker make input according to "option": "raw" means "source" provides input content, "generator" means execute "generator" with arguments in "source", separated by space.
func (Inputmaker) Label ¶
func (r Inputmaker) Label() (inputlabel []string, outputlabel []string)
type RunnerFileio ¶
type RunnerFileio struct { }
Run a program reading from file and print to file and stderr. File "config" contains two lines, the first of which acts the same as "limit" of RunnerStdio while the second contains two strings denoting input file and output file.
func (RunnerFileio) Label ¶
func (r RunnerFileio) Label() (inputlabel []string, outputlabel []string)
type RunnerStdio ¶
type RunnerStdio struct { }
Run a program reading from stdin and print to stdout and stderr. For "limit", it contains a series of number seperated by space, denoting real time (ms), cpu time (ms), virtual memory (byte), real memory (byte), stack memory (byte), output limit (byte), fileno limitation respectively.
func (RunnerStdio) Label ¶
func (r RunnerStdio) Label() (inputlabel []string, outputlabel []string)