An docker image for Judger service in AleOJ, implemented in go
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.
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
}
Content type
Image
Digest
Size
122.5 MB
Last updated
over 5 years ago
docker pull liangular/aleoj