My Python 3 solutions to Google Code Jam 2020 problems that should pass all the test sets. The solutions are written to run successfully on the Code Jam platform, which includes the following libraries:
- Python 3.5.3
- Numpy 1.16.2
- Scipy 1.2.1
Some solutions may be too slow in Python 3 and might return a "Time Limit Exceeded" error on the Code Jam platform. For these, I will try to provide a solution using PyPy 2 (which is faster in some cases) in the notes that should be able to successfully pass all test sets.
# | Problem | Solution | Notes |
---|---|---|---|
A | Vestigium | Python 3 | |
B | Nesting Depth | Python 3 | |
C | Parenting Partnering Returns | Python 3 | |
D | ESAb ATAd | Python 3 | |
E | Indicium | Python 3 |
# | Problem | Solution | Notes |
---|---|---|---|
A | Pattern Matching | Python 3 | |
B | Pascal Walk | Python 3 | |
C | Square Dance | Python 3 |
# | Problem | Solution | Notes |
---|---|---|---|
A | Expogo | Python 3 | |
B | Blindfolded Bullseye | Python 3 | |
C | Join the Ranks | Python 3 |
# | Problem | Solution | Notes |
---|---|---|---|
A | Overexcited Fan | Python 3 | |
B | Overrandomized | Python 3 | |
C | Oversized Pancake Choppers | Python 3 |
# | Problem | Solution | Notes |
---|---|---|---|
A | Incremental House of Pancakes | Python 3 | |
B | Security Update | Python 3 | |
C | Wormhole in One | Python 3 | |
D | Emacs++ |