File tree Expand file tree Collapse file tree 10 files changed +1280
-1
lines changed
main/java/com/google/hashcode
test/java/com/google/hashcode Expand file tree Collapse file tree 10 files changed +1280
-1
lines changed Original file line number Diff line number Diff line change 1+ .idea
2+ * .iml
3+ target
Original file line number Diff line number Diff line change 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"
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ 3 5 1 6
2+ TTTTT
3+ TMMMT
4+ TTTTT
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ 6 7 1 5
2+ TMMMTTT
3+ MMMMTMM
4+ TTMTTMT
5+ TMMTMMM
6+ TTTTTTM
7+ TTTTTTM
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 1+ package com .google .hashcode ;
2+
3+ public class App {
4+ public static void main (String [] args ) {
5+ System .out .println ("GoogleHashCode2017" );
6+ }
7+ }
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments