Generate c++ templates and test case files for competitive programming contests and also test your solutions against them using genbot.
-
Clone this repo and
cd
into it. -
Run
node script PLATFORM CONTEST_URL
where CONTEST_URL is the url of the page which displays all problems. -
Directory will be created for each problem with its own testcase and cpp files. e.x. For codeforces, it would be A, B, etc.
-
Run
./run.sh A
in the root directory after completion of solution to test your solution.
Parsing problems
Testing incorrect solution