https://github.com/aurasphere/google-hashcode-2018
My solution to the Google HashCode 2018 qualification round.
https://github.com/aurasphere/google-hashcode-2018
google-hashcode hashcode-2018 hashcodesolved java
Last synced: 10 months ago
JSON representation
My solution to the Google HashCode 2018 qualification round.
- Host: GitHub
- URL: https://github.com/aurasphere/google-hashcode-2018
- Owner: aurasphere
- License: mit
- Created: 2018-04-28T16:50:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T23:21:23.000Z (over 5 years ago)
- Last Synced: 2025-01-02T04:48:50.694Z (12 months ago)
- Topics: google-hashcode, hashcode-2018, hashcodesolved, java
- Language: Java
- Size: 655 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.paypal.com/donate/?cmd=_donations&business=8UK2BZP2K8NSS)
# Google HashCode 2018
This repository contains my solution to the Google HashCode 2018 Qualification round problem. The solution is a simple greedy algorithm written in Java.
## Score
The score has been validated by using [this Python script not written by me](https://github.com/PicoJr/2018-hashcode-score):
- *a_example.in*: 4 points
- *b_should_be_easy.in*: 176.677 points
- *c_no_hurry.in*: 13.789.773 points
- *d_metropolis.in*: 10.914.293 points
- *e_high_bonus.in*: 21.460.945 points
- **Total**: 46.341.692 points
For reference, if this was in the competition it would have been #604 worldwide and #34 in Italy. The first placed score is only 3 millions points ahead.
## Discussions
If you want to say something, feel free to open an issue on this project. I don't guarantee I'll make any fixes on but I'll read and reply for sure.
If instead you want to get in touch directly, just send me an email.
Copyright (c) 2018 Donato Rimenti