• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:36
CEST 10:36
KST 17:36
  • 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
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris20Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : 2v2 & SC: Evo Complete: Weekend Double Feature Geoff 'iNcontroL' Robinson has passed away The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Flash On His 2010 "God" Form, Mind Games, vs JD Joined effort New season has just come in ladder BW General Discussion Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[ASL20] Ro24 Group B [ASL20] Ro24 Group C BWCL Season 63 Announcement [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The year 2050 Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2066 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 States24692 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 1h 24m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Sea 8050
Larva 699
PianO 658
Killer 436
Pusan 336
ggaemo 322
Hyun 280
Soma 137
Noble 16
HiyA 14
[ Show more ]
Sacsri 13
NotJumperer 7
Free 7
Dota 2
XcaliburYe367
febbydoto16
League of Legends
JimRising 481
Counter-Strike
Stewie2K1401
Super Smash Bros
amsayoshi55
Mew2King16
Heroes of the Storm
Khaldor181
Other Games
summit1g7604
singsing1658
Nina143
SortOf105
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH444
• Reevou 1
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos845
Upcoming Events
Sparkling Tuna Cup
1h 24m
SC Evo League
3h 24m
Chat StarLeague
7h 24m
Razz vs Julia
StRyKeR vs ZZZero
Semih vs TBD
Replay Cast
15h 24m
Afreeca Starleague
1d 1h
Queen vs HyuN
EffOrt vs Calm
Wardi Open
1d 2h
RotterdaM Event
1d 6h
Replay Cast
1d 15h
Afreeca Starleague
2 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
3 days
herO vs TBD
Royal vs Barracks
[ Show More ]
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
LiuLi Cup
5 days
Cosmonarchy
5 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
5 days
Team Hawk vs Team Dewalt
BSL Team Wars
5 days
Team Hawk vs Team Bonyth
SC Evo League
6 days
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
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.