judger

package
v0.0.0-...-d7dedc6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JudgeC

func JudgeC(jr *params.JudgeRequest)

func JudgeCPP

func JudgeCPP(jr *params.JudgeRequest)

func JudgeGo

func JudgeGo(jr *params.JudgeRequest)

Types

type ResultCode

type ResultCode = int
const (
	PASS                  ResultCode = iota // 0
	WRONG_ANSWER                            // 1
	RUNTIME_ERROR                           // 2
	COMPILE_ERROR                           // 3
	UNKNOWN_ERROR                           // 4
	TIME_LIMIT_EXCEEDED                     // 5
	MEMORY_LIMIT_EXCEEDED                   // 6
)

Jump to

Keyboard shortcuts

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