Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.28 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.28 KB

genbot

Maintenance
Generate c++ templates and test case files for competitive programming contests and also test your solutions against them using genbot.

Usage

  1. Clone this repo and cd into it.

  2. Run node script PLATFORM CONTEST_URL where CONTEST_URL is the url of the page which displays all problems.

  3. Directory will be created for each problem with its own testcase and cpp files. e.x. For codeforces, it would be A, B, etc.

  4. Run ./run.sh A in the root directory after completion of solution to test your solution.


    Parsing problems


    Testing incorrect solution



    Testing correct solution


Tip : Edit template.cpp as per your convenience

Note : Functionality only for codeforces contests. More functionality will be added soon.