Search found 4 matches

by Chameleon
Fri Dec 12, 2003 8:23 am
Forum: Volume 102 (10200-10299)
Topic: 10245 - The Closest Pair Problem
Replies: 92
Views: 10011

10245 - The answer to your problem

I must have forfeited 10 TLEs and 5 WAs on this question ... apparently the coordinates are doubles, not ints. It does not say anything either way in the question, but the examples are misleading.
by Chameleon
Wed Dec 10, 2003 6:46 am
Forum: Volume 3 (300-399)
Topic: 358 - Don't Have A Cow
Replies: 52
Views: 10529

Output of P must be to two decimal places

I kept getting WA for this problem. I eventually guessed that the output of P must be to two decimal places, even though this is not written anywhere in the problem statement. Very annoying.
by Chameleon
Thu Jun 20, 2002 7:31 pm
Forum: Volume 100 (10000-10099)
Topic: 10081 - Tight Words
Replies: 16
Views: 6059

"Incorrect output".

I was using a recursive way that counted the number of ways to generate the word, and then for efficiency converted to iterative.

Result = Tight words / Total words

where total words = (k+1)^n

I had to put in some tricks to overcome overflow... perhaps that is the problem.
by Chameleon
Thu Jun 20, 2002 4:56 pm
Forum: Volume 100 (10000-10099)
Topic: 10081 - Tight Words
Replies: 16
Views: 6059

10081 - Tight Words

I have written code for 10081, but the judge doesn't like it.
Any ideas?

Go to advanced search