Skip to content

Commit 41b5196

Browse files
committed
init
1 parent de49c51 commit 41b5196

File tree

10 files changed

+1280
-1
lines changed

10 files changed

+1280
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
*.iml
3+
target

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# GoogleHashCode2017
2-
Assignments for the Google HashCode 2017
2+
##Pizza
3+
Practice problem for the Google HashCode 2017
4+
5+
* original assignment - [Task.pdf](./documentation/TaskDescription.pdf)
6+
* [input data sets](./inputDataSets)
7+
8+
##Prerequisites
9+
10+
* Java 1.8
11+
* maven 3
12+
13+
##Run
14+
To build and run the application execute:
15+
16+
mvn clean install
17+
mvn exec:java -Dexec.mainClass="com.google.hashcode.App"

documentation/TaskDescription.pdf

275 KB
Binary file not shown.

inputDataSets/big.in

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

inputDataSets/example.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
3 5 1 6
2+
TTTTT
3+
TMMMT
4+
TTTTT

inputDataSets/medium.in

Lines changed: 201 additions & 0 deletions
Large diffs are not rendered by default.

inputDataSets/small.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
6 7 1 5
2+
TMMMTTT
3+
MMMMTMM
4+
TTMTTMT
5+
TMMTMMM
6+
TTTTTTM
7+
TTTTTTM

pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.google.hashcode</groupId>
6+
<artifactId>pizza</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>pizza</name>
11+
<url>http://maven.apache.org</url>
12+
<description>an assignment for google hash code 2017 competition</description>
13+
14+
<properties>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
<maven.compiler.source>1.8</maven.compiler.source>
17+
<maven.compiler.target>1.8</maven.compiler.target>
18+
</properties>
19+
20+
<dependencies>
21+
<dependency>
22+
<groupId>junit</groupId>
23+
<artifactId>junit</artifactId>
24+
<version>4.12</version>
25+
<scope>test</scope>
26+
</dependency>
27+
</dependencies>
28+
29+
</project>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.google.hashcode;
2+
3+
public class App {
4+
public static void main(String[] args) {
5+
System.out.println("GoogleHashCode2017");
6+
}
7+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.google.hashcode;
2+
3+
import org.junit.Test;
4+
5+
public class AppTest {
6+
7+
@Test
8+
public void main() {
9+
App.main(new String[0]);
10+
}
11+
12+
}

0 commit comments

Comments
 (0)