Skip to content

Generate c++ templates and testcases for CP contests using genbot

Notifications You must be signed in to change notification settings

astonizer/genbot

Repository files navigation

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.

About

Generate c++ templates and testcases for CP contests using genbot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published