https://github.com/selectnull/hashcode2020
The solution to Google's Hash Code 2020 programming competition
https://github.com/selectnull/hashcode2020
Last synced: 4 months ago
JSON representation
The solution to Google's Hash Code 2020 programming competition
- Host: GitHub
- URL: https://github.com/selectnull/hashcode2020
- Owner: selectnull
- License: mit
- Created: 2020-02-21T11:48:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T11:50:24.000Z (almost 6 years ago)
- Last Synced: 2025-02-24T02:55:37.389Z (11 months ago)
- Language: Python
- Size: 13.8 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hash Code 2020
==============
This is a solution for Google's [Hash Code 2020
competition](https://codingcompetitions.withgoogle.com/hashcode).
The Experience
--------------
This is my first coding competition as I've never had the urge to try
it. But a friend wanted to try it so we formed a two member team and
decided to have fun.
There isn't a lot of time: 4h to read and understand the problem, write
the code, submit it and iterate on the idea.
The code produces the final score of 22.709.246 points. For comparison,
the winner of 4 hours of competition produces 27.203.691 points.
All in all, we had fun :)
The Code and Data
-----------------
Written using latest Python 3 at the time (3.8.1), but any could be
easily modified to run on any python.
A single input file can be processed with:
./books.py input-file > output-file
Run all input files with:
./runall.sh
which will process all input files from `data` directory and write
result files to `output`.
The Team
--------
1. [Igor Lulić](https://www.facebook.com/igor.lulic.58) - the math guy
2. [Sasha Matijasic](https://github.com/selectnull) - me, the coding guy
Licence
-------
The code is licensed under MIT licence.