problem

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Compile      = "compile"
	Standard     = "standard"
	Interactive  = "interactive"
	AnswerSubmit = "answer_submit"
)

run_task / problem types

Variables

This section is empty.

Functions

This section is empty.

Types

type Case

type Case struct {
}

Case defines single judge case

type Config

type Config struct {
	Type     string    // Problem type
	Subtasks []SubTask // SubTasks

}

Config defines a problem judgement configuration

type SubTask

type SubTask struct {
	ScoringType string
	Score       float64
	Cases       []Case
}

SubTask defines multiple judger tasks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL