Python Code to grade solutions to the CCC using test data from their website.
CEMC Website: https://cemc.uwaterloo.ca/contests/past_contests.html
HOW TO USE:
- Scroll to the bottom of https://cemc.uwaterloo.ca/contests/past_contests.html
- Click on the contest you are attempting
- Download the Test Data
- Extract the senior or junior folder into the input directory in the grader project
- Copy your python file (.py) into the input folder
- Run the grader.py file using python and answer the prompt to the question you are grading (i.e. S1, S2, ...)
- Enjoy your grader. It will tell you your time and incorrect test cases
Note: This program will run the code on your computer which is assuredly faster than the computers that actually grade the contest, hence a margin of error is created.