WilliamMajanja / HashCode-2017

A multi language solution to the Pizza problem HashCode 2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HashCode-2017

![HashCode logo] (HashCode-2017/logo.png)

                      hash tags: #hashcode #2017 #googleHashCode 

Join the chat at https://gitter.im/GoogleHashCode2017/Lobby Build Status

Pizza

Practice problem for the Google HashCode 2017.

Effectiveness's for v0.02

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

  • input data sets

Prerequisites

  • Java 1.8
  • maven 3

Run.java

To build and run the application execute:

   mvn clean install 
   mvn exec:java -Dexec.mainClass="com.google.hashcode.App"

Submit task automation

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

Deprecated

To automate interaction with online submission can be used SeleniumIDE with a firefox browser.

Run.py

Option 1: Call the interpreter

For Python 2: python .py For Python 3: python3 .py

Option 2: Let the script call the interpreter

Make sure the first line of your file has #!/usr/bin/env python. Make it executable - chmod +x .py. And run it as ./.py

About

A multi language solution to the Pizza problem HashCode 2017

License:MIT License


Languages

Language:Java 86.1%Language:Python 13.6%Language:Shell 0.3%