Documentation ¶
Index ¶
- func GenerateErrorResult(err error) (common.SolutionInfo, common.SolutionDetails, error)
- func ReadResult(resultDir string, problemConf map[string]string) (common.SolutionInfo, common.SolutionDetails, error)
- type Details
- type Result
- type SolutionMetadata
- type Subtask
- type Test
- type UOJAdapterConfig
- type UojAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateErrorResult ¶ added in v0.1.7
func GenerateErrorResult(err error) (common.SolutionInfo, common.SolutionDetails, error)
func ReadResult ¶
func ReadResult(resultDir string, problemConf map[string]string) (common.SolutionInfo, common.SolutionDetails, error)
Types ¶
type SolutionMetadata ¶
type SolutionMetadata struct {
Language string `json:"language"`
}
type UOJAdapterConfig ¶
type UOJAdapterConfig struct {
SandboxMode string `json:"sandbox_mode"`
}
type UojAdapter ¶
type UojAdapter struct{}
func (*UojAdapter) Name ¶
func (u *UojAdapter) Name() string
Click to show internal directories.
Click to hide internal directories.