• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:57
CEST 10:57
KST 17:57
  • 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: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou4Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Team Liquid Map Contest #21 - Presented by Monster Energy herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
Is there anyway to get a private coach? OGN to release AI-upscaled StarLeague from Feb 24 BW caster Sayle BSL Season 21 BW General Discussion
Tourneys
[ASL20] Semifinal B [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN Azhi's Colosseum - Anonymous Tournament
Strategy
[I] TvZ Strategies and Builds [I] TvP Strategies and Build Roaring Currents ASL final Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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 The Chess Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
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
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1248 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 States24718 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
Next event in 2h 4m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
OGKoka 157
SortOf 104
StarCraft: Brood War
firebathero 1002
sSak 471
Larva 418
Killer 300
Tasteless 248
PianO 207
Soma 163
Sharp 47
soO 44
Shinee 38
[ Show more ]
Dewaltoss 32
Sacsri 13
Bale 12
HiyA 11
Britney 1
Dota 2
XaKoH 456
XcaliburYe191
ODPixel69
Counter-Strike
olofmeister1340
shoxiejesuss859
allub217
Other Games
summit1g6258
ceh9546
Pyrionflax160
Mew2King81
Happy36
Trikslyr25
rGuardiaN19
Organizations
Other Games
gamesdonequick696
Counter-Strike
PGL422
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH175
• LUISG 23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
Wardi Open
2h 4m
Wardi Open
5h 34m
PiGosaur Monday
15h 4m
Replay Cast
1d 1h
Tenacious Turtle Tussle
1d 14h
The PondCast
2 days
OSC
2 days
WardiTV Invitational
3 days
Online Event
3 days
RSL Revival
3 days
[ Show More ]
RSL Revival
4 days
WardiTV Invitational
4 days
Afreeca Starleague
4 days
Snow vs Soma
Sparkling Tuna Cup
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
RSL Revival
5 days
Wardi Open
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
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
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.