Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshallYamlProblem ¶
func UnmarshalYamlProblem ¶
Types ¶
type ContestInformation ¶
type LimitDescription ¶
type LimitDescription struct {
Description string `yaml:"description"`
}
type Problem ¶
type Problem struct {
ProblemNum string `yaml:"number"`
ProblemTitle string `yaml:"title"`
ProblemScore int `yaml:"score"`
ProblemLimitTime int `yaml:"limit_execute_time"`
ProblemLimitMemory int `yaml:"limit_execute_memory"`
ProblemDescription string `yaml:"description"`
ProblemInput string `yaml:"input_description"`
ProblemOutput string `yaml:"output_description"`
ProblemInitialCode string `yaml:"initial_code"`
ProblemLimitationDescription []LimitDescription `yaml:"limit_description"`
TestCase []TCase `yaml:"testcases"`
SecretCase []SCase `yaml:"secretcases"`
}
type Problems ¶
type Problems struct {
ContestInfomation ContestInformation `yaml:"contest_infomation"`
Problem []Problem `yaml:"problem"`
}
Click to show internal directories.
Click to hide internal directories.