• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:26
CEST 22:26
KST 05:26
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Soulkey on ASL S20 A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ ASL20 General Discussion Pros React To: SoulKey's 5-Peat Challenge
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Path of Exile General RTS Discussion Thread Nintendo Switch Thread
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread Canadian Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1230 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 States24701 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
OSC
19:00
Mid Season Playoffs
Gerald vs ArTLIVE!
Solar vs goblin
Nicoract vs TBD
Spirit vs Percival
Cham vs TBD
ByuN vs Jumy
SteadfastSC1129
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 1129
UpATreeSC 138
ZombieGrub94
JuggernautJason70
Lillekanin 11
StarCraft: Brood War
Britney 20199
Calm 1930
Rain 1537
Shuttle 499
Dewaltoss 89
ggaemo 32
Hm[arnc] 6
Dota 2
Dendi1423
Pyrionflax226
NeuroSwarm97
Counter-Strike
apEX2367
fl0m1140
Stewie2K431
Heroes of the Storm
Liquid`Hasu527
Other Games
Grubby3761
FrodaN1674
Beastyqt511
summit1g368
ToD190
Hui .186
C9.Mang0131
ArmadaUGS114
Trikslyr54
Kaelaris6
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Hupsaiya 48
• davetesta9
• Reevou 3
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• FirePhoenix16
• Pr0nogo 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21884
Other Games
• Scarra798
• imaqtpie798
• WagamamaTV270
• Shiphtur176
Upcoming Events
RSL Revival
13h 34m
Maru vs Reynor
Cure vs TriGGeR
Map Test Tournament
14h 34m
The PondCast
16h 34m
RSL Revival
1d 13h
Zoun vs Classic
Korean StarCraft League
2 days
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
Online Event
3 days
[ Show More ]
Wardi Open
4 days
Monday Night Weeklies
4 days
Sparkling Tuna Cup
5 days
LiuLi Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries 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.