This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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 main.py 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 main.py fetch 703 - To test your code for a problem (say A) : python main.py test A - If multiple answers are possible : python main.py test A multiple

## Dependencies - [Beautiful Soup] (https://www.crummy.com/software/BeautifulSoup/bs4/doc/)

## 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

Release History

This version
History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting