Skip to content

UST Global Official Team solution for Google HashCode 2019

License

Notifications You must be signed in to change notification settings

angelborroy/google-hashcode-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Hashcode 2019

UST Global Official Team solution for Google Hashcode 2019.

Strategy

  1. Compile slides from Vertical Photos finding tags clouds without common strings or with the minimal common strings
  2. Take first slide and find the first one returning the max value for Google formula
  3. Continue iterating till no more slides left

Note that a more refined strategy can be designed to obtain higher scores

Scoring

A - Example                    2
B - Lovely landscapes    202,569
C - Memorable moments      1,472
D - Pet pictures         401,434
E - Shiny selfies        406,415
----------------------------------
Total score            1,011,892

Compiling

$ mvn clean package

Running

$ java -jar target/hashcode-2019-1.0.0.jar \
  --fileIn=in/a_example.in \
  --fileOut=a_example.out

Generating ZIP Source file

$ ./zip.sh

$ ls *.zip
src.zip

About

UST Global Official Team solution for Google HashCode 2019

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published