entity

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 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 Judge

type Judge struct {
	SubmitId       string
	ProblemId      string
	SubmitTime     string
	Status         int
	ErrorMessage   string
	TimeConsumed   int //ms
	MemoryConsumed int //k
	Score          int
	Code           string
	Language       string
}

type JudgeGlobalCfg

type JudgeGlobalCfg struct {
	ProblemId       string
	JudgeMode       utils.JudgeMode
	UserFileId      string
	UserFileContent string
	//RunDir             string
	SandboxMaxTime int64 //sandbox
	ProblemMaxTime int64 //problem
	MaxMemory      int64
	MaxStack       int64
	RunConfig      utils.RunConfig
}

type Problem

type Problem struct {
	ProblemId   string
	Type        utils.JudgeMode
	TimeLimit   int64
	MemoryLimit int64
	StackLimit  int64
	TestCases   []gjson.Result
}

No details sir!

Jump to

Keyboard shortcuts

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