Sign inSign up

liangular/aleoj

By liangular

Updated over 5 years ago

Image
0

527

liangular/aleoj repository overview

AleOJ Judger

An docker image for Judger service in AleOJ, implemented in go

General

The Judger service exposed port 6666 for RPC call over TCP at Judger.Run endpoint, the RPC server handles requests asynchronous and multiplex to different goroutines. Each goroutine will compile and execute the commands in a blocking way.

Supported Languages

  • c++

Payload

type Payload struct {
	Id            int
	Lang          string
	Code          string
	TestCaseIn    [][]byte
	TestCaseOut   [][]byte
	TimeLimit     int
	MemoryLimit   int
}
type Result struct {
	Status   string  //AC, WA, TLE, MLE, RE
	Time     int    // ms
	Memory   int    // kB
	Case     string // wrong answer test case
	Expect   string
	Actual   string
}

Tag summary

Content type

Image

Digest

Size

122.5 MB

Last updated

over 5 years ago

docker pull liangular/aleoj