Difference between revisions of "Google Code Jam"

From HaskellWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here are solutions to exercises from google code jam.
+
Here are problems and some solutions from [http://code.google.com/codejam/contest/ google code jam contest].
   
  +
== Format ==
 
Exercises must be run feeding file as console input ,
 
Exercises must be run feeding file as console input ,
 
 
''cat file.in | ghci -e main Solution.hs > file.out''
 
''cat file.in | ghci -e main Solution.hs > file.out''
   
 
The output should be right formatted to be submitted to google forms.
 
The output should be right formatted to be submitted to google forms.
  +
As it's known google service will be turned off, each problem section has a final link to a tarball of valid inputs.
 
   
 
== Practice Problems ==
 
== Practice Problems ==
Line 14: Line 14:
 
* [[Google Code Jam/Egg Drop]]
 
* [[Google Code Jam/Egg Drop]]
 
* [[Google Code Jam/Shopping Plan]]
 
* [[Google Code Jam/Shopping Plan]]
  +
[http://haskell.org/sitewiki/images/5/51/GoogleCodeJamPractice2008.tbz Inputs]
   
 
== Gcj Beta 2008 ==
 
== Gcj Beta 2008 ==
Line 21: Line 22:
 
* [[Google Code Jam/Random Route]]
 
* [[Google Code Jam/Random Route]]
 
* [[Google Code Jam/Hexagon Game]]
 
* [[Google Code Jam/Hexagon Game]]
  +
[http://haskell.org/sitewiki/images/c/c8/GoogleCodeJamBeta2008.tbz Inputs]
  +
  +
== Qualification Round (16 July 2008) ==
  +
  +
* [[Google Code Jam/Saving The Universe]]
  +
* [[Google Code Jam/Train Timetable]]
  +
* [[Google Code Jam/Fly Swatter]]
  +
[http://haskell.org/sitewiki/images/b/b8/GoogleCodeJamQualification2008.tbz Inputs]
  +
  +
== Round 1B (26 July 2008) ==
  +
  +
* [[Google Code Jam/Crop Triangles]]
  +
* [[Google Code Jam/Number sets]]
  +
* [[Google Code Jam/Mousetrap]]
  +
[http://haskell.org/sitewiki/images/b/b5/GoogleCodeJamRoundB12008.tbz Inputs]
  +
  +
== Round 1C (27 July 2008) ==
  +
  +
* [[Google Code Jam/Text Messaging Outrage]]
  +
* [[Google Code Jam/Ugly Numbers]]
  +
* [[Google Code Jam/Increasing Speed Limits]]
  +
[http://haskell.org/sitewiki/images/f/f1/GoogleCodeJam2008RoundC1.tbz Inputs]
  +
  +
== Round 2 (2 Aug 2008) ==
  +
  +
* [[Google Code Jam/Cheating a Boolean Tree]]
  +
* [[Google Code Jam/Triangle Areas]]
  +
* [[Google Code Jam/Star Wars]]
  +
* [[Google Code Jam/PermRLE]]
  +
  +
[http://haskell.org/sitewiki/images/f/f1/GoogleCodeJam2008Round2.tbz Inputs]

Latest revision as of 12:03, 4 August 2008