0_0_18088919_30568\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_18088919_30568\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_18088919_30568\Main.java:3: 错误: 非法字符: '#'
#define maxn 205
^
0_0_18088919_30568\Main.java:3: 错误: 需要class, interface或enum
#define maxn 205
^
0_0_18088919_30568\Main.java:5: 错误: 非法字符: '#'
#define eps 1e-8
^
0_0_18088919_30568\Main.java:8: 错误: 需要class, interface或enum
return (x < 0 ? -1 : 1);
^
0_0_18088919_30568\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:13: 错误: 需要class, interface或enum
Point (int _x = 0, int _y = 0, int _z = 0) : x(_x), y(_y), z(_z) {}
^
0_0_18088919_30568\Main.java:16: 错误: 需要class, interface或enum
if (y != a.y) return y < a.y;
^
0_0_18088919_30568\Main.java:17: 错误: 需要class, interface或enum
return z < a.z;
^
0_0_18088919_30568\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:39: 错误: 需要class, interface或enum
struct Point3 {
^
0_0_18088919_30568\Main.java:41: 错误: 需要class, interface或enum
Point3 (double _x = 0, double _y = 0, double _z = 0) : x(_x), y(_y), z(_z) {}
^
0_0_18088919_30568\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:74: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:80: 错误: 需要class, interface或enum
return acos (((a-p)*(b-p)) / (a.distance (p)*b.distance (p)));
^
0_0_18088919_30568\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:84: 错误: 需要class, interface或enum
if (!dcmp (l)) return *this;
^
0_0_18088919_30568\Main.java:85: 错误: 需要class, interface或enum
r /= l;
^
0_0_18088919_30568\Main.java:86: 错误: 需要class, interface或enum
return Point3 (x*r, y*r, z*r);
^
0_0_18088919_30568\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:93: 错误: 需要class, interface或enum
ding = Point (a, b, c);
^
0_0_18088919_30568\Main.java:94: 错误: 需要class, interface或enum
return (dcmp (x-a) == 0 && dcmp (y-b) == 0 && dcmp (z-c) == 0);
^
0_0_18088919_30568\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:98: 错误: 需要class, interface或enum
int n;
^
0_0_18088919_30568\Main.java:100: 错误: 需要class, interface或enum
int dis (int i, int j) {
^
0_0_18088919_30568\Main.java:102: 错误: 需要class, interface或enum
return xx*xx + yy*yy + zz*zz;
^
0_0_18088919_30568\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:106: 错误: 需要class, interface或enum
void init () {
^
0_0_18088919_30568\Main.java:107: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:107: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:108: 错误: 需要class, interface或enum
for (int j = 1; j <= n; j++) {
^
0_0_18088919_30568\Main.java:108: 错误: 需要class, interface或enum
for (int j = 1; j <= n; j++) {
^
0_0_18088919_30568\Main.java:110: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:115: 错误: 需要class, interface或enum
const double dd = sqrt (6.0)/3;
^
0_0_18088919_30568\Main.java:117: 错误: 需要class, interface或enum
long long solve () {
^
0_0_18088919_30568\Main.java:119: 错误: 需要class, interface或enum
for (int u = 1; u <= n; u++) {
^
0_0_18088919_30568\Main.java:119: 错误: 需要class, interface或enum
for (int u = 1; u <= n; u++) {
^
0_0_18088919_30568\Main.java:119: 错误: 需要class, interface或enum
for (int u = 1; u <= n; u++) {
^
0_0_18088919_30568\Main.java:120: 错误: 需要class, interface或enum
for (int v = u+1; v <= n; v++) {
^
0_0_18088919_30568\Main.java:120: 错误: 需要class, interface或enum
for (int v = u+1; v <= n; v++) {
^
0_0_18088919_30568\Main.java:122: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) if (i != u && i != v && d[i][u] == d[i][v]) {
^
0_0_18088919_30568\Main.java:122: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) if (i != u && i != v && d[i][u] == d[i][v]) {
^
0_0_18088919_30568\Main.java:122: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) if (i != u && i != v && d[i][u] == d[i][v]) {
^
0_0_18088919_30568\Main.java:124: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:126: 错误: 需要class, interface或enum
int L = 0, R = 0;
^
0_0_18088919_30568\Main.java:127: 错误: 需要class, interface或enum
while (L < cnt) {
^
0_0_18088919_30568\Main.java:129: 错误: 需要class, interface或enum
while (R < cnt && len[R] == len[L]) tmp++, R++;
^
0_0_18088919_30568\Main.java:130: 错误: 需要class, interface或enum
ans += tmp * (tmp-1) / 2;
^
0_0_18088919_30568\Main.java:131: 错误: 需要class, interface或enum
L = R;
^
0_0_18088919_30568\Main.java:132: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:137: 错误: 需要class, interface或enum
long long res = 0;//同平面菱形
^
0_0_18088919_30568\Main.java:138: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:138: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:138: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:139: 错误: 需要class, interface或enum
for (int j = 1; j <= n; j++) if (i != j) {
^
0_0_18088919_30568\Main.java:139: 错误: 需要class, interface或enum
for (int j = 1; j <= n; j++) if (i != j) {
^
0_0_18088919_30568\Main.java:140: 错误: 需要class, interface或enum
for (int k = 1; k <= n; k++) if (k != i && k != j) {
^
0_0_18088919_30568\Main.java:140: 错误: 需要class, interface或enum
for (int k = 1; k <= n; k++) if (k != i && k != j) {
^
0_0_18088919_30568\Main.java:142: 错误: 需要class, interface或enum
Point d = (Point) {p[i].x+p[k].x-p[j].x, p[i].y+p[k].y-p[j].y,
^
0_0_18088919_30568\Main.java:144: 错误: 需要class, interface或enum
if (d == p[j]) continue;
^
0_0_18088919_30568\Main.java:145: 错误: 需要class, interface或enum
int pos = lower_bound (p+1, p+1+n, d)-p;
^
0_0_18088919_30568\Main.java:146: 错误: 需要class, interface或enum
if (p[pos] == d) {
^
0_0_18088919_30568\Main.java:153: 错误: 需要class, interface或enum
}
^
0_0_18088919_30568\Main.java:159: 错误: 需要class, interface或enum
int gg = 0;//正四面体
^
0_0_18088919_30568\Main.java:160: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:160: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:160: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_18088919_30568\Main.java:161: 错误: 需要class, interface或enum
for (int j = i+1; j <= n; j++) {
^
0_0_18088919_30
|