Lambdajudge-1.0.0.4: A library to easily host Haskell based programming competitions

Safe HaskellSafe
LanguageHaskell2010

DataStructures

Synopsis

Documentation

type ProcCount = Int Source

counts number of times code has been evaluated against test cases

type LJMonad a = WriterT String (StateT ProcCount (ErrorT String IO)) a Source

Require logging, state and need to throw exceptions during computation

type TestCase = String Source

Content of the input file

type Answer = String Source

Content of the output file

data Problem Source

group together a problem atatement, its input and outputs and max allowed time limit

data Contest Source

Contest is a list of problems

Constructors

Contest 

Fields

problems :: [Problem]
 

data StatusCode Source

Status code determines the result of evaluation of the submitted code

Constructors

AC 
WA 
TLE 
NZEC 

data MuevalCommand Source

All that is required to run a mueval command