An open API service indexing awesome lists of open source software.

https://github.com/jarhill0/codequest-2017

Python 3 solutions to the 2017 US CodeQuest problems
https://github.com/jarhill0/codequest-2017

codequest python3

Last synced: 7 months ago
JSON representation

Python 3 solutions to the 2017 US CodeQuest problems

Awesome Lists containing this project

README

          

# CodeQuest 2017 Python Solutions

These solutions are written in Python 3. They solve all 18 of the 2017 US problems. You can find the problems in
[the PDF](https://github.com/jarhill0/codequest-2017/blob/master/ProblemPacket2017.pdf). I built these without
looking at the official Java solutions (are there official Python solutions? If there are, I didn't look at those
either).

Each problem's materials are in their own numbered directory. For example, `01/` contains, `01.py`, my solution to
the problem; `Prob01.in.example.txt`, the example input which was provided to contestants during the real
competition; `Prob01.out.example.txt`, the example output which was provided to contestants during the real
competition; `Prob01.in.txt`, the secret judging data which was used to determine whether a team's program was
successful; `Prob01.out.txt`, the expected outcome of that testing; and `my_output.txt`, the cleverly named output of
my own script (copied and pasted into a text file from terminal output).

You can verify that my solutions are the same as the expected solutions if you have git installed by running
`python3 verify_solutions.py`.

And, for your benefit as much as mine, here's a list of links directly to my solutions:

- [Problem 01](https://github.com/jarhill0/codequest-2017/blob/master/01/01.py)
- [Problem 02](https://github.com/jarhill0/codequest-2017/blob/master/02/02.py)
- [Problem 03](https://github.com/jarhill0/codequest-2017/blob/master/03/03.py)
- [Problem 04](https://github.com/jarhill0/codequest-2017/blob/master/04/04.py)
- [Problem 05](https://github.com/jarhill0/codequest-2017/blob/master/05/05.py)
- [Problem 06](https://github.com/jarhill0/codequest-2017/blob/master/06/06.py)
- [Problem 07](https://github.com/jarhill0/codequest-2017/blob/master/07/07.py)
- [Problem 08](https://github.com/jarhill0/codequest-2017/blob/master/08/08.py)
- [Problem 09](https://github.com/jarhill0/codequest-2017/blob/master/09/09.py)
- [Problem 10](https://github.com/jarhill0/codequest-2017/blob/master/10/10.py)
- [Problem 11](https://github.com/jarhill0/codequest-2017/blob/master/11/11.py)
- [Problem 12](https://github.com/jarhill0/codequest-2017/blob/master/12/12.py)
- [Problem 13](https://github.com/jarhill0/codequest-2017/blob/master/13/13.py)
- [Problem 14](https://github.com/jarhill0/codequest-2017/blob/master/14/14.py)
- [Problem 15](https://github.com/jarhill0/codequest-2017/blob/master/15/15.py)
- [Problem 16](https://github.com/jarhill0/codequest-2017/blob/master/16/16.py)
- [Problem 17](https://github.com/jarhill0/codequest-2017/blob/master/17/17.py)
- [Problem 18](https://github.com/jarhill0/codequest-2017/blob/master/18/18.py)

Enjoy!