Difference between revisions of "Google Code Jam"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Here are |
+ | 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) == |
== Qualification Round (16 July 2008) == |
||
Line 27: | Line 29: | ||
* [[Google Code Jam/Train Timetable]] |
* [[Google Code Jam/Train Timetable]] |
||
* [[Google Code Jam/Fly Swatter]] |
* [[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) == |
== Round 1C (27 July 2008) == |
||
Line 33: | Line 43: | ||
* [[Google Code Jam/Ugly Numbers]] |
* [[Google Code Jam/Ugly Numbers]] |
||
* [[Google Code Jam/Increasing Speed Limits]] |
* [[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
Here are problems and some solutions from google code jam contest.
Format
Exercises must be run feeding file as console input , cat file.in | ghci -e main Solution.hs > file.out
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
- Google Code Jam/Alien Numbers
- Google Code Jam/Always Turn Left
- Google Code Jam/Egg Drop
- Google Code Jam/Shopping Plan
Gcj Beta 2008
- Google Code Jam/Triangle Dilemma
- Google Code Jam/The Price is Wrong
- Google Code Jam/Random Route
- Google Code Jam/Hexagon Game
Qualification Round (16 July 2008)
Round 1B (26 July 2008)
Round 1C (27 July 2008)
- Google Code Jam/Text Messaging Outrage
- Google Code Jam/Ugly Numbers
- Google Code Jam/Increasing Speed Limits