• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:51
CET 14:51
KST 22:51
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Mech is the composition that needs teleportation t TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1397 users

Google Code Jam 2008

Blogs > HeadBangaa
Post a Reply
HeadBangaa
Profile Blog Joined July 2004
United States6512 Posts
Last Edited: 2008-06-25 08:13:53
June 25 2008 01:44 GMT
#1
http://code.google.com/codejam/index.html

Grand Prize: $10,000

I'm going to participate in Google's annual programming contest this year. I was wondering if any fellow TLers planned on entering.

I've dabbled with practice problems from previous contests; they don't seem too bad. I usually don't enter these things because there's soooo many awesome coders out there. My inner-geek is extremely intimidated, I suppose. But not this year, I'm going for it!

You software peeps should join, too. Here's some info:

Registration Deadline: July 17

About Code Jam

Do you enjoy solving tough problems and grappling with technical challenges? Then enter Google Code Jam!

Google Code Jam is a coding competition in which professional and student programmers are asked to solve complex algorithmic challenges in a limited amount of time. The contest is all-inclusive: Google Code Jam lets you program in the coding language and development environment of your choice.

Google Code Jam begins in July and continues in August, when you will compete in online rounds against contestants from around the world. The Top 500 participants will advance to onsite competitions at a local Google office to compete against those in their region (Asia Pacific; Europe, Middle East and Africa; and the Americas). The Top 100 will participate in the final round at the Google Headquarters in Mountain View, California on Friday, November 14.

Don't be left out! Make sure to register between June 17 and July 17, and show your coding creativity in Google Code Jam.


How to Win

Point Structure
Each problem has set point values for its small and large input/output sets. When you solve a set correctly, you get the number of points indicated. The contestant with the highest score wins.

Penalty Time and Ties
If there is a tie in points, the contestant with the lowest penalty time wins.
Penalty Time = Total submission time of the last input you correctly solve (time is measured from start of contest) + four minutes for each incorrect small submission (only for problems you eventually solve)
For example, if you have made the following submissions:

[17m10s] wrong submission for A-small
[17m35s] wrong submission for A-small
[18m15s] correct submission for A-small (10 points)
[29m30s] wrong submission for B-small
[30m59s] correct submission for C-small (30 points)
[45m11s] correct submission for A-large (15 points)

then your score will be 55, with 53m11s of penalty points (45m 11s + 2*4m)

I was thinking this blog could serve as discussion for some of the practice problems. I haven't looked at them yet, but will post back here when I do.

Feel free to post anything related to Code Jam here.

***
People who fail to distinguish Socratic Method from malicious trolling are sadly stupid and not worth a response.
Kwidowmaker
Profile Blog Joined October 2007
Canada978 Posts
June 25 2008 01:49 GMT
#2
I may learn how to code just to do this next year. This looks awesome.
Kk.
overpool
Profile Joined April 2008
United States191 Posts
June 25 2008 02:27 GMT
#3
Damn, it won't let you use Ruby or Scheme.
And where are the previous practice problems? I'm having trouble finding them.
yay i love tl events
HeadBangaa
Profile Blog Joined July 2004
United States6512 Posts
June 25 2008 02:39 GMT
#4
On June 25 2008 11:27 overpool wrote:
Damn, it won't let you use Ruby or Scheme.
And where are the previous practice problems? I'm having trouble finding them.

On the Code Jam site, they link to problems from other contests like "TopCoder", but I also found these practice sets:
http://code.google.com/codejam/contest/dashboard?c=agdjb2RlamFtcg4LEghjb250ZXN0cxh5DA
http://code.google.com/codejam/contest/dashboard?c=agdjb2RlamFtcg4LEghjb250ZXN0cxhRDA

Haven't looked at them yet, though.

They say you can use any language; where did you see that you can't use Ruby or Scheme? (also, wow @ those choices!)
People who fail to distinguish Socratic Method from malicious trolling are sadly stupid and not worth a response.
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
June 25 2008 02:50 GMT
#5
aww

I cant see the practice ones without registering for code jam
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
overpool
Profile Joined April 2008
United States191 Posts
June 25 2008 02:52 GMT
#6
On June 25 2008 11:39 HeadBangaa wrote:
Show nested quote +
On June 25 2008 11:27 overpool wrote:
Damn, it won't let you use Ruby or Scheme.
And where are the previous practice problems? I'm having trouble finding them.

On the Code Jam site, they link to problems from other contests like "TopCoder", but I also found these practice sets:
http://code.google.com/codejam/contest/dashboard?c=agdjb2RlamFtcg4LEghjb250ZXN0cxh5DA
http://code.google.com/codejam/contest/dashboard?c=agdjb2RlamFtcg4LEghjb250ZXN0cxhRDA

Haven't looked at them yet, though.

They say you can use any language; where did you see that you can't use Ruby or Scheme?

Thanks. And I thought I saw something that said only Java, C++, Python, or something else, but I must have been mistaken since the FAQ says you can use any language you want.

On June 25 2008 11:39 HeadBangaa wrote:(also, wow @ those choices!)

I like to think of Ruby as a version of Java that doesn't suck (you can't do shit with arrays in java, primitive types are fail, etc.). If I used Scheme, it would just be for fun/practice though; it's not a very practical language
yay i love tl events
clazziquai
Profile Blog Joined October 2007
6685 Posts
Last Edited: 2008-06-25 02:54:01
June 25 2008 02:53 GMT
#7
Looks interesting.


I'd try, but it'd be WAAAAAAAAAAAY to competetive.
#1 Sea.Really Fan / #1 Nesh Fan / Terran Forever~
micronesia
Profile Blog Joined July 2006
United States24736 Posts
June 25 2008 02:55 GMT
#8
I'm doing it in qbasic.
ModeratorThere are animal crackers for people and there are people crackers for animals.
crabapple
Profile Blog Joined June 2008
United States397 Posts
June 25 2008 03:13 GMT
#9
care to give us non programmers an example problem so we can grasp how noob we are?
kekekekyle
Profile Blog Joined October 2007
Canada32 Posts
June 25 2008 03:29 GMT
#10
im doing it in binary
artofmagic
Profile Blog Joined March 2005
United States1951 Posts
June 25 2008 04:01 GMT
#11
On June 25 2008 11:55 micronesia wrote:
I'm doing it in qbasic.

LOL.
evolve or die
Slithe
Profile Blog Joined February 2007
United States985 Posts
June 25 2008 04:13 GMT
#12
I was considering doing it but I dunno if I'll have the time.

@overpool: I'm curious, why scheme?
Jonoman92
Profile Blog Joined September 2006
United States9104 Posts
June 25 2008 04:42 GMT
#13
On June 25 2008 13:01 artofmagic wrote:
Show nested quote +
On June 25 2008 11:55 micronesia wrote:
I'm doing it in qbasic.

LOL.


Well I feel out of the loop. I'm taking Java Programming next semester though so maybe then i'll have a slight grasp of what exactly programming is.
overpool
Profile Joined April 2008
United States191 Posts
June 27 2008 17:51 GMT
#14
On June 25 2008 13:13 Slithe wrote:
I was considering doing it but I dunno if I'll have the time.

@overpool: I'm curious, why scheme?

I'm taking a university course that is taught in scheme, and I'd like to practice with it. Also, scheme is a "fun" language because it encourages the use of "lambda"s and recursion.

In short, although it's not a practical language, it's intellectually interesting to work with.

For example:

(from my textbook)
consider that, in a language that can manipulate procedures, we can get by without numbers (at least insofar as nonnegative integers are concerned) by implementing 0 and the operation of adding 1 as

(define zero (lambda (f) (lambda (x) x)))

(define (add-1 n)
(lambda (f) (lambda (x) (f ((n f) x)))))
yay i love tl events
Hypnosis
Profile Blog Joined October 2007
United States2061 Posts
June 27 2008 18:05 GMT
#15
Im doing it in spanish
Science without religion is lame, Religion without science is blind
ulszz
Profile Blog Joined June 2007
Jamaica1787 Posts
June 27 2008 21:04 GMT
#16
man i wish my programming was better... sounds so funzor
everliving, everfaithful, eversure
Please log in or register to reply.
Live Events Refresh
CranKy Ducklings
10:00
Sea Duckling Open #140
CranKy Ducklings79
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 171
Railgan 42
Creator 16
StarCraft: Brood War
Sea 6948
Horang2 4036
GuemChi 1616
Jaedong 953
actioN 295
Mini 258
Killer 246
Soma 234
BeSt 222
Rush 191
[ Show more ]
EffOrt 170
Hyun 86
Mind 81
ToSsGirL 73
Bonyth 70
Backho 59
sas.Sziky 27
JYJ27
PianO 26
zelot 18
Terrorterran 14
soO 11
sorry 9
Sacsri 8
HiyA 8
Aegong 2
Dota 2
Gorgc6481
singsing2210
qojqva1772
Dendi556
XcaliburYe194
BananaSlamJamma90
Heroes of the Storm
Khaldor209
Other Games
B2W.Neo1194
Lowko261
Sick244
Fuzer 193
Hui .112
XaKoH 75
nookyyy 64
MindelVK19
Organizations
StarCraft 2
WardiTV705
Counter-Strike
PGL236
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 68
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1890
League of Legends
• Stunt703
• HappyZerGling113
Upcoming Events
IPSL
4h 10m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
4h 10m
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
BSL 21
6h 10m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
9h 10m
Sparkling Tuna Cup
20h 10m
WardiTV Korean Royale
22h 10m
LAN Event
1d 1h
IPSL
1d 4h
JDConan vs WIZARD
WolFix vs Cross
BSL 21
1d 6h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
1d 19h
[ Show More ]
Wardi Open
1d 22h
WardiTV Korean Royale
2 days
Replay Cast
3 days
Kung Fu Cup
3 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
4 days
RSL Revival
4 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
5 days
CranKy Ducklings
6 days
RSL Revival
6 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.