Skip to main content

A simple tool to help you save time during a codeforces contest.

Project description

# codeforces-auto-tester

A simple tool to help you save time during a codeforces contest.

Given a contest number it fetches all the testcases and expected output for it. For each problem a new folder is created with sub-folders input/ and output/ which contain the example inputs and outputs respectively.

Ask it to test and it will run the program on the sample inputs and check whether your output matches the expected output.

NOTE : You can add your own test cases into the folders and that will also be tested happily.

Bonus : Keep your template code as template.cpp in the same folder as and it will automatically populate your template for every problem.

## See it work - Download or Clone this repository - Identify a codeforeces contest number (Need not be a current contest) Eg. 703 (Codeforces Round #365 (Div. 2)) - To fetch testcases type : python fetch 703 - To test your code for a problem (say A) : python test A - If multiple answers are possible : python test A multiple

## Dependencies - [Beautiful Soup] (

## TODO - [x] Create basic POC for C/C++ code - [x] Added support for multiple answers - [ ] Add support for Java and Python - [ ] Create a command line tool for Mac and Linux

Project details

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page