Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikgartner/hashcode
Google Hash Code repository
https://github.com/erikgartner/hashcode
google-hashcode
Last synced: 9 days ago
JSON representation
Google Hash Code repository
- Host: GitHub
- URL: https://github.com/erikgartner/hashcode
- Owner: ErikGartner
- Created: 2019-02-12T19:34:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T09:52:38.000Z (over 5 years ago)
- Last Synced: 2024-10-05T10:59:50.210Z (3 months ago)
- Topics: google-hashcode
- Language: Python
- Homepage:
- Size: 14.5 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hash Code
*Our template and solutions starting from 2019*## Results
- **[2019 Qualifiers](https://github.com/ErikGartner/hashcode/tree/2019):** *Our heaps don't lie*, 36th place out of ~6500 teams with [1,073,160 pts](https://codingcompetitions.withgoogle.com/hashcode/archive/2019)
- **[2019 Finals](https://github.com/ErikGartner/hashcode/tree/2019-finals):** *Our heaps don't lie*, 24th place out of 41 teams with [4,757,528 pts](https://codingcompetitions.withgoogle.com/hashcode/archive/2019)## Strategy
1. Read problem statement
2. Add in-files to data. Make sure they end `.in`
3. Write `solutions/utils/parser.py`
1. `parse_in()`. Should create fast data structures for the problem.
2. `write_ans()`. Should create valid answer file.
4. Write a basic strategy in `solutions/strategies/default.py`
5. Submit first score to Google for verification
6. Implement
- `parse_ans()` in `solutions/utils/parser.py` to parse answers
- Scoring in `solutions/score.py` by implementing `do_scoring()`
- Advanced strategies in `solutions/strategies/`## Team
- [Erik Gärtner](https://gartner.io)
- [Johan Ahlkvist](https://github.com/johanahlqvist)