• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:34
CEST 17:34
KST 00:34
  • 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 Tall4HomeStory 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 Retirement From ASL22Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? StarCraft Mass Recall: SC1 campaigns on SC2 thread How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 $200 Biweekly - StarCraft Evolution League #1
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 Retirement From ASL Where did Hovz go? [ASL19] Finals Recap: Standing Tall BW General Discussion ASL20 Preliminary Maps
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 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
US Politics Mega-thread Things Aren’t Peaceful in Palestine Stop Killing Games - European Citizens Initiative Trading/Investing Thread Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 625 users

Programming Tournament - Page 2

Blogs > EsX_Raptor
Post a Reply
Prev 1 2 3 Next All
MasterOfChaos
Profile Blog Joined April 2007
Germany2896 Posts
April 10 2009 17:36 GMT
#21
On April 11 2009 02:17 Boblion wrote:
Turbo Pascal > C++ imo.

If you said that about delphi or freepascal you could be right. But turbo pascal is simply lacking too many language features.
LiquipediaOne eye to kill. Two eyes to live.
Dunk.vn
Profile Joined December 2006
United States197 Posts
April 10 2009 18:10 GMT
#22
On April 11 2009 02:17 Boblion wrote:
Turbo Pascal > C++ imo.


Python > all IMO
seriously though, GL to OP. I attended a programming contest like 2 months ago and got raped lol. still, it's a nice experience
Sunhay
Profile Blog Joined February 2009
Canada303 Posts
April 10 2009 18:12 GMT
#23
On April 11 2009 00:17 never_toss wrote:
#ifndef _EsX_Raptor_
#define _EsX_Raptor_

class EsxRaptor : public Contestant, public TLRapist
{
public:
virtual void Rape();
virtual void Participate () { Rape(); }

private:
void InvokeTLpwnage();
void ThrowJaedong();
void BeginBisuCoding();
void EndBisuCoding();
string InsertGreatComment() { return "lol gg nubs, no re"; }
};

#endif


lol nice. gl btw
www.sunhay.net
Spartan
Profile Blog Joined July 2005
United States2030 Posts
April 10 2009 18:28 GMT
#24
Good luck! Were there any guidelines as to what you had to code?
# http://nkspartan.com (web engineer)
# TL member since July 2005; CEO of Vile Gaming; President of Team Vile
R3condite
Profile Joined August 2008
Korea (South)1541 Posts
April 10 2009 19:08 GMT
#25
gl hf dd ka
ggyo...
b3h47pte
Profile Blog Joined May 2007
United States1317 Posts
April 10 2009 19:36 GMT
#26
On April 11 2009 00:17 never_toss wrote:
#ifndef _EsX_Raptor_
#define _EsX_Raptor_

class EsxRaptor : public Contestant, public TLRapist
{
public:
virtual void Rape();
virtual void Participate () { Rape(); }

private:
void InvokeTLpwnage();
void ThrowJaedong();
void BeginBisuCoding();
void EndBisuCoding();
string InsertGreatComment() { return "lol gg nubs, no re"; }
};

#endif


void DoFBHDance()
{
ShakeButt();
MoveHipsInWeirdWay();
Fall();
}



Gl dude! C++ hwaiting
Aerox
Profile Blog Joined September 2004
Malaysia1213 Posts
April 10 2009 19:50 GMT
#27
Good luck. How many participants are there if you don't mind me asking?

On April 11 2009 00:41 prOxi.swAMi wrote:
Any particular reason why C++?
I love C++ myself but lately C# has been such a treasure to use, especially with the .NET 3.5 framework. There is just SO much more you can do, so easily. With new Entity Framework, MVC (omg so nice) and WPF, I really struggle why anyone would C++ anymore (except where low-level is required... but FUCK windows messages).

C++ is for speed. Critical in games. That's it.
"Eyes in the sky."
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
April 10 2009 21:43 GMT
#28
updated op :D
tec27
Profile Blog Joined June 2004
United States3696 Posts
April 10 2009 21:58 GMT
#29
On April 11 2009 01:56 Lemonwalrus wrote:
Now that somebody else broke the chain, I can ask my question.

wtf is a programming tournament?

Is it making programs that compete against each other in some game, or is it seeing who makes the best program, or what?

glhf either way.

I dunno how its working for Raptor, but I'm on my schools "programming team" (which sounds really lame ). Our tournaments are a bit bigger though, and you're part of a 3 person team. Its run by the ACM (association for computing machinery). Basically, here's how it works:

You're given anywhere between 6 and 8 different problems to solve, all generally challenging, but there's usually a few that can be solved within 20-30 minutes or so (1-2). They give you a minimal amount of test data, and all the data about the possible input you need to handle, along with a fairly indepth description of what the program needs to do. You then make a program that you think will handle all the possible test data they could throw at it, and when you're satisfied, you submit that for judging. They run they're complete test data through it, and if there's any problems, they send it back to you with a general reason (output syntax, doesn't match test answers, etc.) and add a 20 minute penalty to your score. If you get it right, they give you a correct problem and then add the current amount of time to your score (so if you solved it at the 30 minute mark, they'd add 30).

The winner at the end of the competition is the team who solved the most problems (and in case there's a tie there, its the team who has the least total time score (which would mean they solved the problems in the least amount of time/with the least amount of wrong submissions)).
Can you jam with the console cowboys in cyberspace?
rredtooth
Profile Blog Joined December 2008
5459 Posts
April 10 2009 22:13 GMT
#30
On April 11 2009 06:58 tec27 wrote:
Show nested quote +
On April 11 2009 01:56 Lemonwalrus wrote:
Now that somebody else broke the chain, I can ask my question.

wtf is a programming tournament?

Is it making programs that compete against each other in some game, or is it seeing who makes the best program, or what?

glhf either way.

I dunno how its working for Raptor, but I'm on my schools "programming team" (which sounds really lame ). Our tournaments are a bit bigger though, and you're part of a 3 person team. Its run by the ACM (association for computing machinery). Basically, here's how it works:

You're given anywhere between 6 and 8 different problems to solve, all generally challenging, but there's usually a few that can be solved within 20-30 minutes or so (1-2). They give you a minimal amount of test data, and all the data about the possible input you need to handle, along with a fairly indepth description of what the program needs to do. You then make a program that you think will handle all the possible test data they could throw at it, and when you're satisfied, you submit that for judging. They run they're complete test data through it, and if there's any problems, they send it back to you with a general reason (output syntax, doesn't match test answers, etc.) and add a 20 minute penalty to your score. If you get it right, they give you a correct problem and then add the current amount of time to your score (so if you solved it at the 30 minute mark, they'd add 30).

The winner at the end of the competition is the team who solved the most problems (and in case there's a tie there, its the team who has the least total time score (which would mean they solved the problems in the least amount of time/with the least amount of wrong submissions)).

can you explain that part? is there a "score" that your team has and your objective is to keep it low? but that doesn't make sense because there'd be a bunch of teams with 0 who didn't solve any questions. but if they add that (30) to the time you have left then it'd be beneficial to spend more time on questions (use 90 to be absolutely sure you got it right, get 90 minutes back when you did get it right).
[formerly sponsored by the artist formerly known as Gene]
Hamster1800
Profile Blog Joined August 2008
United States175 Posts
April 10 2009 23:55 GMT
#31
The way it works is that the number of correct submissions determines the winner with the total time being a tiebreaker.

Also, the sample problem in the OP is a pretty straightforward dynamic programming problem.
D is for Diamond, E is for Everything Else
meathook
Profile Joined December 2007
1289 Posts
April 11 2009 02:05 GMT
#32
On April 11 2009 00:17 never_toss wrote:
#ifndef _EsX_Raptor_
#define _EsX_Raptor_

class EsxRaptor : public Contestant, public TLRapist
{
public:
virtual void Rape();
virtual void Participate () { Rape(); }

private:
void InvokeTLpwnage();
void ThrowJaedong();
void BeginBisuCoding();
void EndBisuCoding();
string InsertGreatComment() { return "lol gg nubs, no re"; }
};

#endif

Oh my.. I feel stupid for lol'ing after reading it..
An ugly planet. A bug planet.
Pengu1n
Profile Blog Joined October 2004
United States552 Posts
April 11 2009 02:49 GMT
#33
Could you post all the problems? Also what year are you?
gzealot
Profile Blog Joined November 2008
Singapore238 Posts
April 11 2009 03:12 GMT
#34
On April 11 2009 08:55 Hamster1800 wrote:
The way it works is that the number of correct submissions determines the winner with the total time being a tiebreaker.

Also, the sample problem in the OP is a pretty straightforward dynamic programming problem.


Is it? I thought it was doable by using the standard graph theory, could Dijisktra's algo work here?
Could you explain slightly more about dynamic programming, I could never really work my head around it.

OP, would it be possible to get a hold on the solution? thankkkss.
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
Last Edited: 2009-04-11 03:17:26
April 11 2009 03:13 GMT
#35
On April 11 2009 11:49 Pengu1n wrote:
Could you post all the problems? Also what year are you?

you made my day :D
I just love it when people show interest in these things, because I'm in love with my CS major.
I just started my Junior year (halfway through),
I will transcribe all the problems (its a handout) as soon as I get home man!

On April 11 2009 12:12 gzealot wrote:
Is it? I thought it was doable by using the standard graph theory, could Dijisktra's algo work here?
Could you explain slightly more about dynamic programming, I could never really work my head around it.

OP, would it be possible to get a hold on the solution? thankkkss.

Our group had the solution but I forgot to make a copy for myself x_X

I'll try to work it out myself again and post the solution with the algorithm and maybe source if you want.

We used recursion to to through all the possible paths and then determined the best one by comparing their weighs.
Sirakor
Profile Joined April 2003
Great Britain455 Posts
Last Edited: 2009-04-11 04:27:21
April 11 2009 04:26 GMT
#36
Congrats!!!

Maybe it's too late but I really don't understand how you get from the sample input to the expected output? Or are these just garbage numbers?

Anyways, I was wondering about the rules of the tournament as I've never done such a thing. How exactly do they define 'language'? I mean, can you make use of libraries or frameworks and if yes, how is it decided what you can and what you can't use?
huameng
Profile Blog Joined April 2007
United States1133 Posts
April 11 2009 05:06 GMT
#37
I can't wait to see these problems :D I'm trying to decide between being a Math major and being a CS major, and although these contests really shouldn't impact my decision I'm sure it'll be fun stuff nonetheless.
skating
Pengu1n
Profile Blog Joined October 2004
United States552 Posts
Last Edited: 2009-04-11 05:43:51
April 11 2009 05:42 GMT
#38
On April 11 2009 12:13 EsX_Raptor wrote:
Show nested quote +
On April 11 2009 11:49 Pengu1n wrote:
Could you post all the problems? Also what year are you?

you made my day :D
I just love it when people show interest in these things, because I'm in love with my CS major.
I just started my Junior year (halfway through),
I will transcribe all the problems (its a handout) as soon as I get home man!

Show nested quote +
On April 11 2009 12:12 gzealot wrote:
Is it? I thought it was doable by using the standard graph theory, could Dijisktra's algo work here?
Could you explain slightly more about dynamic programming, I could never really work my head around it.

OP, would it be possible to get a hold on the solution? thankkkss.

Our group had the solution but I forgot to make a copy for myself x_X

I'll try to work it out myself again and post the solution with the algorithm and maybe source if you want.

We used recursion to to through all the possible paths and then determined the best one by comparing their weighs.


Thanks! Im a CS major myself, sophmore year. I'm still kind noob at programming but im trying to expand my knowledge.^^
gzealot
Profile Blog Joined November 2008
Singapore238 Posts
April 11 2009 05:51 GMT
#39
wouldnt that time out, considering how its an brute force search?
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
April 11 2009 06:31 GMT
#40
it took a while to complete for the larger matrices but we ran out of ideas lol

btw added new section containing the set of rules they gave us!
Prev 1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 27m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 429
mouzHeroMarine 394
StarCraft: Brood War
Rain 4489
Larva 1230
EffOrt 1151
Stork 432
Mini 376
BeSt 283
ZerO 257
Light 176
Rush 145
Snow 124
[ Show more ]
hero 121
Hyun 111
Mind 74
Zeus 57
Barracks 56
Sharp 51
Shinee 45
Movie 41
JYJ38
Aegong 30
Terrorterran 17
Rock 17
ajuk12(nOOB) 13
scan(afreeca) 13
SilentControl 11
Noble 9
IntoTheRainbow 9
zelot 9
HiyA 8
Shine 7
Hm[arnc] 5
Dota 2
Gorgc9989
qojqva3130
febbydoto10
League of Legends
singsing2503
Counter-Strike
markeloff135
Super Smash Bros
Mew2King162
amsayoshi46
Heroes of the Storm
Khaldor151
Other Games
FrodaN1223
hiko1154
B2W.Neo439
RotterdaM324
Liquid`VortiX315
Happy306
crisheroes222
ArmadaUGS96
Trikslyr47
QueenE40
ZerO(Twitch)20
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• poizon28 27
• iHatsuTV 12
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2810
• WagamamaTV415
League of Legends
• TFBlade917
Upcoming Events
uThermal 2v2 Circuit
27m
OSC
3h 27m
SHIN vs Bunny
Cham vs MaNa
SKillous vs TBD
PAPI vs Jumy
Gerald vs Moja
ArT vs TBD
Replay Cast
8h 27m
The PondCast
18h 27m
RSL Revival
18h 27m
ByuN vs Classic
Clem vs Cham
WardiTV European League
1d
Replay Cast
1d 8h
RSL Revival
1d 18h
herO vs SHIN
Reynor vs Cure
WardiTV European League
2 days
FEL
2 days
[ Show More ]
Korean StarCraft League
2 days
CranKy Ducklings
2 days
RSL Revival
2 days
FEL
3 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL: ProLeague
4 days
Dewalt vs Bonyth
Replay Cast
5 days
Replay Cast
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
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
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
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.