Skip to content
Jiang Z edited this page Dec 16, 2020 · 7 revisions

ORM

Get on /challenge/<id>

Return the challenge with id


Post on /challenge/

Add a challenge with id

Parameters Description Extra information
title[string] The title of the challenge
timeLimit[double] The time limit of the challenge
memoryLimit[int] The memory limit of the challenge
inputs[list of files] The inputs of the challenge The extension of the file need to be .in and the filename without the extension must also happen in the output
outputs[list of files] The outputs of the challenge The extension of the file need to be .out and the filename without the extension must also happen in the input

Clone this wiki locally