• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:21
CEST 21:21
KST 04:21
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL56Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event19Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap The GOAT ranking of GOAT rankings
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL Player “Jedi” cheat on CSL Replays question BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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 Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 585 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 States24667 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 States9103 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
FEL
16:00
Cracov 2025: Qualifier #1
RotterdaM856
IndyStarCraft 271
CranKy Ducklings194
Liquipedia
PSISTORM Gaming Misc
15:55
FSL team league: ASP vs PTB
Freeedom8
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 856
IndyStarCraft 271
JuggernautJason88
ProTech64
StarCraft: Brood War
Calm 4508
firebathero 309
JulyZerg 150
BRAT_OK 104
Rock 41
LancerX 15
Stormgate
Nathanias52
Dota 2
monkeys_forever201
LuMiX1
League of Legends
Grubby2589
Dendi1359
Counter-Strike
fl0m1973
Super Smash Bros
Westballz42
Heroes of the Storm
Khaldor327
Liquid`Hasu310
Other Games
FrodaN2750
Mlord580
KnowMe135
Sick50
Trikslyr49
Organizations
Other Games
EGCTV1407
StarCraft 2
angryscii 18
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 23 non-featured ]
StarCraft 2
• Berry_CruncH94
• printf 52
• tFFMrPink 25
• iHatsuTV 10
• OhrlRock 4
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Pr0nogo 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2857
• WagamamaTV645
• Ler102
League of Legends
• Doublelift1968
• Jankos1845
Other Games
• imaqtpie949
• Shiphtur469
Upcoming Events
RSL Revival
14h 39m
Clem vs Classic
SHIN vs Cure
FEL
16h 39m
WardiTV European League
16h 39m
BSL: ProLeague
22h 39m
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
IEM Cologne 2025
FISSURE Playground #1
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.