I guess I'll explain the rules now...
I will be adapting the ACM College Programming Competition style/rules or at least the parts that I remember.
There will be three web pages that I will give you the URL's for. One will be a scoreboard listing everyone who is participating. One will be your current score. The other will be a list of 10 coding problems (links to problems. each problem will have its own page).
The coding problem pages will have a prompt, some sample input of what your program should accept, and the sample output for that particular input. Below will be a submission form. From there you will paste your code and select whether it runs on 2.7 or 3.1. And then there will be a send button.
Your scoreboard page will show you all 10 problems and what your current status is on each. When you submit a problem, this is the page that you will check to see if you completed it successfully. When you submit a problem, the auto-grader will pick up your code and run it against an unknown
input. Not the one that was the sample input. The actual test data will probably be a much larger size than the sample data. The status for each problem will be one of the following:
- Unsolved (all problems start in this state)
- Syntax Error
- Takes too long
- Incorrect Output
No debug information will be returned. It is up to you to figure out why your program failed.
The scoreboard for all players will just be a list of names with colored dots next to each. Each color represents a different problem. You will not know which color represents which.
The problems will range in difficulty. Some will be really easy. Some will be not so easy. If you notice that everyone has the blue dot, yellow dot, and brown dot, and you only have the lavender dot, that means you probably started with a hard problem. You can do the problems in any order you want.
The person who solves the most problems wins. Plain and simple. No extra credit for solving hard problems vs solving easy problems. When you solve a problem, the time is recorded that you sent in your final submission for the code. The sum of the time it took you to solve all your correct problems is added together. This is called a penalty score. When you make a submission that is not correct, you will get additional penalty points equivalent to 10 minutes of unsolved time. This penalty score is used ONLY for tie-breakers between people that have correctly solved the same number of problems.
- If a person solves 6 problems nearly instantly and solves no more for the rest of the time, he will lose against someone who solves 7 problems with a billion penalty points.
- If a person solves just 1 problem in 30 minutes, he will lose against someone who solves just 1 problem in 29 minutes if both of their first submissions were correct.
- If a person solves just 1 problem in 11 minutes (but made 2 incorrect submissions before finally getting it correct), he will lose against someone who solved the problem in 30 minutes but made only 1 correct submission.
The competition lasts 2 hours.