Search found 4 matches

by EggHead
Sat Mar 23, 2002 4:00 pm
Forum: Volume 7 (700-799)
Topic: 701 - The Archeologists' Dilemma
Replies: 43
Views: 35777

701 - The Archeologists' Dilemma

I think I've probed that for each N in the given range, there's a power of 2 satisfied all the conditions. But for some larger N, I don't have a effective algorithm to solve it on time! :???:
So, will anybody give me some tips of the correct algorithm?
by EggHead
Thu Dec 06, 2001 10:23 am
Forum: Volume 4 (400-499)
Topic: 474 - Heads / Tails Probability
Replies: 50
Views: 18771

Of course I stored them by myself, and use log to calc a^b in pascal. Yeah, it may be float error between pascal and C.

And, Who can post me a program which can pass it?
by EggHead
Thu Dec 06, 2001 10:16 am
Forum: Volume 4 (400-499)
Topic: 474 - Heads / Tails Probability
Replies: 50
Views: 18771

Hello everyone!
I made a pascal program and try to pass 474, but failed all the time. And I found nearly no pascal programmers passed that. And some used C or C++ said they cannot pass with pascal! Why? Who can tell me? Thanks?
by EggHead
Mon Dec 03, 2001 5:57 am
Forum: Volume 4 (400-499)
Topic: 474 - Heads / Tails Probability
Replies: 50
Views: 18771

I was very surprised when I got WA of this prolbem. My program used log, so I can pass the largest data, but I don't know why I always got WA!
Please help!

Go to advanced search