output

package
v0.0.0-...-e982e8b Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResultStatus

type ResultStatus int
const (
	AC  ResultStatus = iota // Accepted
	WA                      // Wrong Answer
	TLE                     // Time Limit Exceed
	MLE                     // Memory Limit Exceed
	RE                      // Runtime Error
	CE                      // Compile Error
)

func (ResultStatus) String

func (s ResultStatus) String() string

type SubmitCodeLength

type SubmitCodeLength int

func (SubmitCodeLength) String

func (cl SubmitCodeLength) String() string

type SubmitMemoryScore

type SubmitMemoryScore int

func (SubmitMemoryScore) String

func (ms SubmitMemoryScore) String() string

type SubmitResult

type SubmitResult struct {
	Status      ResultStatus
	CodeLength  SubmitCodeLength
	TimeScore   time.Duration
	MemoryScore SubmitMemoryScore
	DetailUrl   string
}

type SubmitTimeScore

type SubmitTimeScore int

func (SubmitTimeScore) String

func (ts SubmitTimeScore) String() string

Jump to

Keyboard shortcuts

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