Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

hashcode-2018

Solution for Google Hash Code 2018 Qualification Round. Problem statement can be found here. The original implementation was in Python and is almost 10 times slower than this one.

Usage

go run rides.go ../data/a_example.in out.txt (requires Go >= 1.8)

Result

Total score: 47.355.351 (rank 463 of 4858)

Timings

... on d_metropolis.in dataset

  • Go implementation: 56 seconds
  • Python implementation: 539 seconds

License

MIT