The following problems were given during the testing round:
The following problems were given during the contest:\
Each problem has the statement enunt.pdf, the official solution sol.cpp, and the tests tests/.
The editorials are available in the root of the repository.
This uses cprep, writen with love by Bicsi.
However, with less love, he did not include the ability to use checkers.
I implemented checker support on this fork, which you need to clone and build:
git clone https://github.com/theodormoroianu/cprep
cd cprep
pip3 install .sol.cppis the main intended solution.- Any other source file starting with
sol_will be considered alternative solution. gen.cppgenerates testcases.
Run:
$ cprep generateRun:
$ cprep evaluateWe have to upload a staticly linked checker to CMS. To do this, we need to compile the checker with the following command:
g++ -O2 -static CMS_checker.cpp -lstdc++ -lm -lc -std=c++20 -s -o checkerUse prajitura-cu-mujdei/CMS_checker.cpp as example.
The documentation is here.