# Intercollegiate programming contest problems

Show 80 post(s) from this thread on one page
Page 1 of 2 12 Last
• 01-10-2003
questionsForYou
Intercollegiate programming contest problems
If you want a small sampling of intercollegiate national contest problems, here's some:

http://people.deas.harvard.edu/%7Ehc3/open/
• 01-10-2003
itld
howdy,
am i the only one that thinks some of these problems are obscene.
maybe it's my lack of programming knowledge but i wouldn't have the foggiest idea how to even start.

M.R.
• 01-10-2003
face_master
that page doesn't make any sense¿?! My head now hurts.

Now lose 1 IQ point from reading this post.
• 01-11-2003
Nick
The key to solving most of these problems is to abstract them.
Take the warriors.txt problem. They give a fairly complicated
function to calculate the probability given i, j. All that
matters is that you can code that function onto a computer.
So what you could do is put the values of all the probabilities in
an array P[n][n]. The expected number of
victories of a fight between
fighters i from K, j from KK is just the probability P[i][j].
Also you know that the total expected number of victories
is the sum of the individual expectations. Once taken
these steps the problem is not so hard. You could
come up with a brute force method or use dynamic programming.
• 01-11-2003
Polymorphic OOP
They're all pretty simple, you people are wusses! Grow some man-balls!
• 01-11-2003
itld
howdy,
WOW PooP your coolwhen i grow up i want to be just like you.

M.R>
• 01-11-2003
Travis Dane
Quote:

Originally posted by itld
WOW PooP your coolwhen i grow up i want to be just like you.

To accomplish that, smash a hammer under you armpit,
and against the rest of your boddy.
• 01-11-2003
Sang-drax
• 01-11-2003
joshdick
I was thinking about doing this one. It looks doable.

[The negative voices in my head start talking again.]What's that you say? I'm a whimp for wanting to do an easy one? Well, screw you then. I'm just learning C++ mostly on my own, so I'm lucky I can code a solution to anything.[/They leave me alone.]

I have one question before I start coding away. What does this mean?
Quote:

The input ends with an end of file.
I'd really like to know the answer to this as it is the only thing standing between me and a coded out solution to that problem. Thanks in advance for your help:)
• 01-11-2003
Aran
Quote:

Originally posted by itld
howdy,
WOW PooP your coolwhen i grow up i want to be just like you.

M.R>

hehehehe! poop!

(i'm an American, what else did you expect?)
• 01-12-2003
terrance11
Quote:

Originally posted by joshdick
I was thinking about doing this one. It looks doable.

[The negative voices in my head start talking again.]What's that you say? I'm a whimp for wanting to do an easy one? Well, screw you then. I'm just learning C++ mostly on my own, so I'm lucky I can code a solution to anything.[/They leave me alone.]

I have one question before I start coding away. What does this mean?

I'd really like to know the answer to this as it is the only thing standing between me and a coded out solution to that problem. Thanks in advance for your help:)

too late, I already coded it. I'm on my school's computer, but I'll post it when I'm home.
• 01-12-2003
terrance1
end of file, or .eof is usually when you input a text file:

such as:
while(ostream != textfile.eof())

something like that, but anyways, I'm guessing they want you to input the strings from a text file.
• 01-12-2003
terrance11
Quote:

Originally posted by terrance1
end of file, or .eof is usually when you input a text file:

such as:
while(ostream != textfile.eof())

something like that, but anyways, I'm guessing they want you to input the strings from a text file.

excuse me, in this case- istream :)
• 01-12-2003
Brian
There's some key combination on DOS (in unix there's a different key combo to do it) which allows you to plonk an EOF into stdin

It's CTRL-K or something
• 01-12-2003
Nick
CTRL-Z windows, mac but your not suppose to be using a mac.
CTRL-D unix
Show 80 post(s) from this thread on one page
Page 1 of 2 12 Last