Skip to content

Wesley-Ong/GoogleCodeJam2018

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Google Code Jam 2018 ⚡

The solutions in this repository are for the practice round and qualification round.

Compiling the Solutions 🌺

All solutions were written in Java and can be compiled (with Java installed) using:

javac Solution.java

Once the bytecode class file has been generated(a Solution.class file should appear), you can then execute them with the following command and feeding it a set of input:

java Solution < input.in > output.out

The command above will then output the results of running Solution.java to 'output.out'.

For problems that did not have an input, Google provided a python testing tool to validate the correctness of the solution. The command to run it is:

python testing_tool.py java Solution

There should be a message in the command prompt that states if you were successful or not.

For each solution, there is a sample input provided to test accuracy of the output.

Solution Results 🌵

Practice Round

  1. Number Guessing - 10/10 points
  2. Senate Evacuation - 10/10 points
  3. Steed 2: Cruise Control - 10/10 points
  4. Bathroom Stalls - 10/15 points

Final score: 40/45 points

Qualification Round

  1. Saving The Universe Again - 10/10 points
  2. Trouble Sort - 8/15 points
  3. Go, Gopher! - 10/20 points
  4. Cubic UFO - 0/10 points (did not attempt)

Final score: 28/66 points

Thoughts 🐲

I am proud of what I was able to accomplish by making it past the qualification round and into Round 1. Unfortunately I was unable to participate due to the timing of the rounds and conflicts of prior engagements.

Nevertheless, it was a worthwhile experience that tested abilities and I am happy about my personal growth.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.2%
  • Java 43.8%