• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:54
CET 17:54
KST 01: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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !10Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
What's the best tug of war? The Grack before Christmas Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies ComeBackTV's documentary on Byun's Career ! Micro Lags When Playing SC2?
Tourneys
OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament Winter Warp Gate Amateur Showdown #1
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Recommended FPV games (post-KeSPA) BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle soO on: FanTaSy's Potential Return to StarCraft
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] LB QuarterFinals - Sunday 21:00 CET [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile General RTS Discussion Thread
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread How Does UI/UX Design Influence User Trust? Things Aren’t Peaceful in Palestine
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1934 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
Next event in 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 440
SKillous 159
BRAT_OK 96
MindelVK 27
StarCraft: Brood War
Sea 4792
Rain 4715
EffOrt 926
ggaemo 316
Shuttle 252
Mini 167
Sharp 137
Barracks 121
Snow 118
JYJ 84
[ Show more ]
hero 78
Hyun 72
Terrorterran 34
PianO 22
Sexy 21
yabsab 16
Shine 11
HiyA 9
Bale 8
SilentControl 8
JulyZerg 7
Dota 2
qojqva5082
XcaliburYe695
Fuzer 232
LuMiX1
League of Legends
Trikslyr35
Heroes of the Storm
Khaldor213
Other Games
singsing2083
B2W.Neo1234
Mlord390
crisheroes349
DeMusliM244
XaKoH 125
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Light_VIP 53
• HeavenSC 28
• 3DClanTV 5
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 14
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2138
Other Games
• Shiphtur69
Upcoming Events
Big Brain Bouts
6m
Elazer vs Nicoract
Reynor vs Scarlett
Replay Cast
8h 6m
Sparkling Tuna Cup
1d 17h
Krystianer vs TBD
TriGGeR vs SKillous
Percival vs TBD
ByuN vs Nicoract
OSC
2 days
Replay Cast
2 days
Wardi Open
2 days
OSC
3 days
Solar vs MaxPax
ByuN vs Krystianer
Spirit vs TBD
OSC
6 days
Liquipedia Results
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.