Skip to content

Create and submit a challenge

Jiang Z edited this page Dec 17, 2020 · 1 revision

Create and submit a Challenge

You will need to create a challenge in ORM

Choose the title of the challenge A+B, the time limit of the challenge as 1 second, the memory limit of the challenge as 32Mb, the inputs and outputs files of the problems, we can be find samples in verdict/src/tests/sum/inputs and verdict/src/tests/sum/outputs and make a POST in form-data in ORM to /challenge/.

Send an program to the challenge

Set a the language of the program like Python, choose a file of the program can be find in verdict/src/tests/sum/python/ac.py and insert the challengeID of the created challenge.