feladat_txt

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Identify

func Identify(fs afero.Fs, path string) bool

func Parse

func Parse(fs afero.Fs, path string) (problems.Problem, error)

Types

type Problem

type Problem struct {
	Path           string
	ShortName      string
	Title          string
	StatementList  problems.Contents
	AttachmentList problems.Attachments
	TestCount      int
	MemoryLimitKB  int
	TimeLimitS     float64
	SubtaskCount   int
	Points         []int

	InputPathPattern  string
	AnswerPathPattern string
}

func (Problem) Attachments

func (p Problem) Attachments() problems.Attachments

func (Problem) Checker

func (p Problem) Checker() problems.Checker

func (Problem) Files

func (p Problem) Files() []problems.File

func (Problem) GetTaskType

func (p Problem) GetTaskType() problems.TaskType

func (Problem) InputOutputFiles

func (p Problem) InputOutputFiles() (string, string)

func (Problem) Languages

func (p Problem) Languages() []language.Language

func (Problem) MemoryLimit

func (p Problem) MemoryLimit() int

func (Problem) Name

func (p Problem) Name() string

func (Problem) Statements

func (p Problem) Statements() problems.Contents

func (Problem) StatusSkeleton

func (p Problem) StatusSkeleton(name string) (*problems.Status, error)

func (Problem) Tags

func (p Problem) Tags() []string

func (Problem) TimeLimit

func (p Problem) TimeLimit() int

func (Problem) Titles

func (p Problem) Titles() problems.Contents

Jump to

Keyboard shortcuts

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