![HashCode logo] (HashCode-2017/logo.png)
hash tags: #hashcode #2017 #googleHashCode
Practice problem for the Google HashCode 2017.
Slicing of: example, small, medium slices took 10m 39 seconds on a MacBookPro Results:
-
example 6
-
small 30
-
medium 33037
-
big - Repaired. Was ran Clustered accross the kernel from the commit and took about 18.05 MINUTES.(a desktop PC with an Experimental GPU and a Core i7 4700 MQ )
-
original assignment - Task.pdf
- Java 1.8
- maven 3
To build and run the application execute:
mvn clean install
mvn exec:java -Dexec.mainClass="com.google.hashcode.App"
Google provides an online mechanism to check the task results. It requires:
- archived source code
- at least one output file
To zip the source code execute :
./zipSourceCode.sh
To automate interaction with online submission can be used SeleniumIDE with a firefox browser.
- login to the submission page
- setup selenium test suite(submitResultsViaSelenium) according to yours file system
- execute the test case and see scores on web. See the video instruction on YouTube
For Python 2: python .py For Python 3: python3 .py
Make sure the first line of your file has #!/usr/bin/env python. Make it executable - chmod +x .py. And run it as ./.py