• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:54
CET 12:54
KST 20:54
  • 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: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Mech is the composition that needs teleportation t TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
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
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 Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
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
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1501 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 States2802 Posts
April 10 2009 21:43 GMT
#28
updated op :D
tec27
Profile Blog Joined June 2004
United States3702 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
5461 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 States2802 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 States2802 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
CranKy Ducklings
10:00
Sea Duckling Open #140
CranKy Ducklings94
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 191
ProTech126
StarCraft: Brood War
Sea 7395
Horang2 3581
GuemChi 3100
Jaedong 731
actioN 403
Larva 361
Soma 337
Mini 240
Stork 237
BeSt 221
[ Show more ]
EffOrt 157
Killer 151
Backho 113
ToSsGirL 91
Hyun 79
Rush 65
Mind 50
PianO 32
Sharp 25
Icarus 18
Bale 12
HiyA 12
soO 11
sorry 11
Sacsri 8
Terrorterran 7
Dota 2
Gorgc4675
singsing1652
XcaliburYe271
Counter-Strike
fl0m2320
zeus618
edward56
Heroes of the Storm
Khaldor136
Other Games
B2W.Neo624
Sick332
XaKoH 121
Fuzer 101
nookyyy 28
MindelVK15
Organizations
Counter-Strike
PGL138
StarCraft 2
WardiTV28
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH158
• StrangeGG 65
• Dystopia_ 4
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2318
• Stunt940
Upcoming Events
IPSL
6h 7m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
6h 7m
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
BSL 21
8h 7m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
11h 7m
Sparkling Tuna Cup
22h 7m
WardiTV Korean Royale
1d
LAN Event
1d 3h
IPSL
1d 6h
JDConan vs WIZARD
WolFix vs Cross
BSL 21
1d 8h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
1d 21h
[ Show More ]
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
3 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
4 days
RSL Revival
4 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
5 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
6 days
CranKy Ducklings
6 days
RSL Revival
6 days
herO vs Gerald
ByuN vs SHIN
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
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

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals 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.