-
Notifications
You must be signed in to change notification settings - Fork 0
ORM
Jiang Z edited this page Dec 17, 2020
·
7 revisions
The Object-relational mapping, a.k.a ORM, will be an API that return the objects information inside the database.
Get on /challenge/<id>
.
Return the challenge with id.
Post on /challenge/
.
Create a challenge.
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 |
© MaRT 🌎 🚀 🌕