UST Global Official Team solution for Google Hashcode 2019.
Strategy
- Compile slides from Vertical Photos finding tags clouds without common strings or with the minimal common strings
- Take first slide and find the first one returning the max value for Google formula
- 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
$ mvn clean package
$ java -jar target/hashcode-2019-1.0.0.jar \
--fileIn=in/a_example.in \
--fileOut=a_example.out
$ ./zip.sh
$ ls *.zip
src.zip