Search found 6 matches

by marong
Sun Jun 15, 2003 3:40 pm
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 19243

Can anyone give me help ?
at least give me a AC programme.
by marong
Fri Jun 13, 2003 10:15 am
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 19243

This is my new programme, and all Tips you give me has been used,
but still WAAAAAAAAAAAAAAAAAAAA :cry: :cry: :cry: :cry:
:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:

# include <stdio.h>
# include <math.h>
# define MaxN 200
# define PI (2*acos(0))

struct Tpoint
{ long x; long y ...
by marong
Fri Jun 13, 2003 7:50 am
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 19243

WA again.
and my programme pass all test you give me.
by marong
Thu Jun 12, 2003 10:23 am
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 19243

:( :(
I puzzled.
if there are three point p p[i+1] p[i+2] in one line,
Should I ignore it or just count it as 180?

I has submitted two programme of these,
neither is ac.
by marong
Wed Jun 11, 2003 6:02 am
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 19243

:cry: Sorry,but I got the exactly correct answer about the case,

Have you any other case?
by marong
Tue Jun 10, 2003 12:55 pm
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 19243

10445 WA

I don't know why I got WA
can Anyone give me the input/output file?

# include <stdio.h>
# include <math.h>
# define MaxN 200
# define PI 3.14159265359

struct Tpoint
{ long x; long y;}
Polygon[MaxN];

typedef struct Tpoint line;
typedef struct Tpoint point;

int N;
int Clockwise;

double LineDis ...

Go to advanced search