Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Release History

This version
History Node


Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers