These are my messy solutions for Google Code Jam 2018 in Python 3. Will only update after each round so no cheating :)
Note that the sample inputs for Senate Evacuation (2016 1C, Prob. A), Steed 2: Cruise Control (2017 1B, Prob. A), and Bathroom Stalls (2017 Qual, Prob. C) are from their respective archives.
The solutions, unless indicated, passed all tests. Some folders include "solution-submit.py", which is the solution that I submitted to the judge and, if present, had passed all test cases. The reason for a new "solution.py" can be one of many, as they might contain some performance boosts, or just that the one submitted does not meet my aesthetic standards. "solution-noveri.py" was not verified, for various reasons (obviously I did not overslept and missed a round). However, they are guaranteed to pass the limited test cases that are available as example.
It's good enough; it runs fast enough; I'm lazy; it has much handled for me. (Though I still find myself uncontrollably typing ;'s after every statement)
- Number Guessing
- Senate Evacuation
- Steed 2: Cruise Control
- Bathroom Stalls - Correct small-1 and small-2 but incorrect large
- Saving The Universe Again
- Trouble Sort
- Go, Gopher!
- Cubic UFO
- Waffle Choppers
- Bit Party - Set 2 TIME_LIMIT_EXCEEDED
- Edgy Baking
Contributions are greatly appreciated! Do a pull request, or just start your own repository! Lemme know if there are any errors in my solutions as well!
This work is licensed under CC BY-SA 4.0.