0_0_39403673_15495\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39403673_15495\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_39403673_15495\Main.java:5: 错误: 需要class, interface或enum
}P[1000001];
^
0_0_39403673_15495\Main.java:6: 错误: 需要class, interface或enum
double Cross(Point a, Point b)//叉乘
^
0_0_39403673_15495\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_39403673_15495\Main.java:13: 错误: 需要class, interface或enum
a.x = i.x + j.x;
^
0_0_39403673_15495\Main.java:14: 错误: 需要class, interface或enum
a.y = i.y + j.y;
^
0_0_39403673_15495\Main.java:15: 错误: 需要class, interface或enum
return a;
^
0_0_39403673_15495\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_39403673_15495\Main.java:20: 错误: 需要class, interface或enum
a.x = i.x*j;
^
0_0_39403673_15495\Main.java:21: 错误: 需要class, interface或enum
a.y = i.y*j;
^
0_0_39403673_15495\Main.java:22: 错误: 需要class, interface或enum
return a;
^
0_0_39403673_15495\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_39403673_15495\Main.java:27: 错误: 需要class, interface或enum
long long N, i;
^
0_0_39403673_15495\Main.java:28: 错误: 需要class, interface或enum
double TotalArea, R_x, R_y;
^
0_0_39403673_15495\Main.java:29: 错误: 需要class, interface或enum
Point Sigma, temp;
^
0_0_39403673_15495\Main.java:30: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_39403673_15495\Main.java:31: 错误: 需要class, interface或enum
while (T--)
^
0_0_39403673_15495\Main.java:34: 错误: 需要class, interface或enum
scanf("%lf%lf", &P[1].x, &P[1].y);
^
0_0_39403673_15495\Main.java:35: 错误: 需要class, interface或enum
TotalArea = 0;
^
0_0_39403673_15495\Main.java:36: 错误: 需要class, interface或enum
Sigma = { 0,0 };
^
0_0_39403673_15495\Main.java:37: 错误: 需要class, interface或enum
for (i = 2; i <= N; i++)
^
0_0_39403673_15495\Main.java:37: 错误: 需要class, interface或enum
for (i = 2; i <= N; i++)
^
0_0_39403673_15495\Main.java:37: 错误: 需要class, interface或enum
for (i = 2; i <= N; i++)
^
0_0_39403673_15495\Main.java:40: 错误: 需要class, interface或enum
TotalArea += Cross(P[i], P[i - 1]);
^
0_0_39403673_15495\Main.java:41: 错误: 需要class, interface或enum
temp = FuncMultiply(FuncAdd(P[i], P[i - 1]), Cross(P[i], P[i - 1]));
^
0_0_39403673_15495\Main.java:42: 错误: 需要class, interface或enum
Sigma.x += temp.x;
^
0_0_39403673_15495\Main.java:43: 错误: 需要class, interface或enum
Sigma.y += temp.y;
^
0_0_39403673_15495\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_39403673_15495\Main.java:46: 错误: 需要class, interface或enum
temp = FuncMultiply(FuncAdd(P[1], P[N]), Cross(P[1], P[N]));
^
0_0_39403673_15495\Main.java:47: 错误: 需要class, interface或enum
Sigma.x += temp.x;
^
0_0_39403673_15495\Main.java:48: 错误: 需要class, interface或enum
Sigma.y += temp.y;
^
0_0_39403673_15495\Main.java:49: 错误: 需要class, interface或enum
R_x = Sigma.x / TotalArea / 3;
^
0_0_39403673_15495\Main.java:50: 错误: 需要class, interface或enum
R_y = Sigma.y / TotalArea / 3;
^
0_0_39403673_15495\Main.java:51: 错误: 需要class, interface或enum
if (R_x == -0)R_x = 0;
^
0_0_39403673_15495\Main.java:52: 错误: 需要class, interface或enum
if (R_y == -0)R_y = 0;
^
0_0_39403673_15495\Main.java:53: 错误: 需要class, interface或enum
printf("%.2lf %.2lf\n", R_x, R_y);
^
0_0_39403673_15495\Main.java:54: 错误: 需要class, interface或enum
}
^
38 个错误
|