Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadResult ¶
func ReadResult(resultPath string) (client.PatchSolutionTaskRequest, 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) Judge ¶
func (u *UojAdapter) Judge(ctx context.Context, config common.ProblemConfig, problemData string, solutionData string) error
func (*UojAdapter) Name ¶
func (u *UojAdapter) Name() string
Click to show internal directories.
Click to hide internal directories.