This repository contains my solution to the Google HashCode 2018 Qualification round problem. The solution is a simple greedy algorithm written in Java.
The score has been validated by using this Python script not written by me:
- 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.
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