Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)