Search found 4 matches

by iamsleepy
Mon Jul 31, 2006 3:24 pm
Forum: Volume 100 (10000-10099)
Topic: 10011 - Where Can You Hide?
Replies: 58
Views: 19212

It is just larger than the distance to another tangent line...

P.S.Sorry for my poor English...I can't express myself clearly....
by iamsleepy
Mon Jul 31, 2006 5:04 am
Forum: Volume 100 (10000-10099)
Topic: 10011 - Where Can You Hide?
Replies: 58
Views: 19212

Is there any possible the shortest distance is a line which crosses the circle?
My problem may fail on that condition but I think it' s impossible. The angle must larger than 90 degree.....
by iamsleepy
Fri Jul 28, 2006 5:20 pm
Forum: Volume 100 (10000-10099)
Topic: 10011 - Where Can You Hide?
Replies: 58
Views: 19212

Please give me that data... I've tested all of them earlier than this submit and got the same answer as the poster.
P.S. At that time.. I was modifying my program, perhaps there may be some fault....
by iamsleepy
Thu Jul 27, 2006 7:59 am
Forum: Volume 100 (10000-10099)
Topic: 10011 - Where Can You Hide?
Replies: 58
Views: 19212

10011 Where Can You Hide - WA

My solution to this problem is wa. I think it's a precision fault. Could someone give me an advice on it? THX...

Here is my code...

#include <stdio.h>
#include <math.h>
#include <string.h>


inline long double absx(long double x){
return x-0>1.0e-8?x:-x;
}

char buffer[10];

int main(){
int v ...

Go to advanced search