Search found 4 matches

by ZhangChi
Sat Aug 18, 2007 3:53 pm
Forum: Volume 100 (10000-10099)
Topic: 10011 - Where Can You Hide?
Replies: 58
Views: 19111

Amazing!!! I have passed all the test case in 10011.in, but I still get WA!!!

help!! I believe my algorithm have no problem, precision error??



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

const double Pi = 3.1415926535897932384626;
const double EPS = 1E-8;

struct Tpoint
{
double x, y;
};

const ...
by ZhangChi
Mon Feb 27, 2006 6:48 pm
Forum: Volume 105 (10500-10599)
Topic: 10511 - Councilling
Replies: 26
Views: 16174

Code: Select all

1 

john yatch 
For this testdata , my Accepted program output nothing .. not "Impossible."

And my method is the same as hujialie's , it's the correct algorithm for this problem. Maybe he made some mistake on programming.
by ZhangChi
Thu Oct 27, 2005 7:54 pm
Forum: Volume 103 (10300-10399)
Topic: 10382 - Watering Grass
Replies: 29
Views: 17100

I know the reason now!

there are many blank lines at the end of the test data . so if we use EOF , it can't works well ...... this is my code...

{$S-,R-}

program UVA10382;

const
maxn = 10000;

type
tseg = record
l , r : double;
end;

var
seg : array [ 1 .. maxn ] of tseg;
w , l : double ...
by ZhangChi
Wed Oct 26, 2005 3:12 pm
Forum: Volume 103 (10300-10399)
Topic: 10382 - Watering Grass
Replies: 29
Views: 17100

I got WA too....

Is there any trick in the test data ? I need some data.

help!

Go to advanced search