0_0_25927905_28483\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_25927905_28483\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_25927905_28483\Main.java:3: 错误: 非法字符: '#'
#define mem(x) memset(x,0,sizeof(x))
^
0_0_25927905_28483\Main.java:3: 错误: 需要class, interface或enum
#define mem(x) memset(x,0,sizeof(x))
^
0_0_25927905_28483\Main.java:4: 错误: 非法字符: '#'
#define all(x) (x).begin(),(x).end()
^
0_0_25927905_28483\Main.java:5: 错误: 非法字符: '#'
#define endl "\n"
^
0_0_25927905_28483\Main.java:6: 错误: 非法字符: '#'
#define Mod(a,b) a<b?a:a%b+b
^
0_0_25927905_28483\Main.java:8: 错误: 需要class, interface或enum
inline ll rint() {
^
0_0_25927905_28483\Main.java:9: 错误: 需要class, interface或enum
ll x = 0, f = 1; char c = getchar();
^
0_0_25927905_28483\Main.java:10: 错误: 需要class, interface或enum
while (c<'0' || c>'9') { if (c == '-')f = -1; c = getchar(); }
^
0_0_25927905_28483\Main.java:10: 错误: 需要class, interface或enum
while (c<'0' || c>'9') { if (c == '-')f = -1; c = getchar(); }
^
0_0_25927905_28483\Main.java:10: 错误: 需要class, interface或enum
while (c<'0' || c>'9') { if (c == '-')f = -1; c = getchar(); }
^
0_0_25927905_28483\Main.java:11: 错误: 需要class, interface或enum
while (c >= '0'&&c <= '9') { x = x * 10 + c - '0'; c = getchar(); }
^
0_0_25927905_28483\Main.java:11: 错误: 需要class, interface或enum
while (c >= '0'&&c <= '9') { x = x * 10 + c - '0'; c = getchar(); }
^
0_0_25927905_28483\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_25927905_28483\Main.java:14: 错误: 需要class, interface或enum
ll gcd(ll a, ll b) { return (b) ? gcd(b, a%b) : a; }
^
0_0_25927905_28483\Main.java:15: 错误: 需要class, interface或enum
ll lcm(ll a, ll b) { return a / gcd(a, b)*b; }
^
0_0_25927905_28483\Main.java:16: 错误: 需要class, interface或enum
ll pow(ll a, ll b, ll q) { ll ans = 1; while (b) { if (b & 1) ans = ans * a%q; a = a * a%q; b >>= 1; }return ans; }
^
0_0_25927905_28483\Main.java:16: 错误: 需要class, interface或enum
ll pow(ll a, ll b, ll q) { ll ans = 1; while (b) { if (b & 1) ans = ans * a%q; a = a * a%q; b >>= 1; }return ans; }
^
0_0_25927905_28483\Main.java:16: 错误: 需要class, interface或enum
ll pow(ll a, ll b, ll q) { ll ans = 1; while (b) { if (b & 1) ans = ans * a%q; a = a * a%q; b >>= 1; }return ans; }
^
0_0_25927905_28483\Main.java:16: 错误: 需要class, interface或enum
ll pow(ll a, ll b, ll q) { ll ans = 1; while (b) { if (b & 1) ans = ans * a%q; a = a * a%q; b >>= 1; }return ans; }
^
0_0_25927905_28483\Main.java:16: 错误: 需要class, interface或enum
ll pow(ll a, ll b, ll q) { ll ans = 1; while (b) { if (b & 1) ans = ans * a%q; a = a * a%q; b >>= 1; }return ans; }
^
0_0_25927905_28483\Main.java:18: 错误: 需要class, interface或enum
const double eps = 1e-9;
^
0_0_25927905_28483\Main.java:19: 错误: 需要class, interface或enum
typedef complex<double> pt;
^
0_0_25927905_28483\Main.java:20: 错误: 需要class, interface或enum
bool cmp(pt a, pt b) { return make_pair(a.real(), a.imag()) < make_pair(b.real(), b.imag()); }
^
0_0_25927905_28483\Main.java:20: 错误: 需要class, interface或enum
bool cmp(pt a, pt b) { return make_pair(a.real(), a.imag()) < make_pair(b.real(), b.imag()); }
^
0_0_25927905_28483\Main.java:22: 错误: 需要class, interface或enum
double test(pt v1, pt v2) {
^
0_0_25927905_28483\Main.java:25: 错误: 需要class, interface或enum
if (v2.imag() > -eps && v2.real() > -eps && v2.real() < w + eps) return v2.imag();
^
0_0_25927905_28483\Main.java:26: 错误: 需要class, interface或enum
else return DBL_MAX;
^
0_0_25927905_28483\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_25927905_28483\Main.java:30: 错误: 需要class, interface或enum
double a = atan(h / w), a2 = arg(v1);
^
0_0_25927905_28483\Main.java:31: 错误: 需要class, interface或enum
v1 = polar(abs(v1), a);
^
0_0_25927905_28483\Main.java:32: 错误: 需要class, interface或enum
v2 *= polar(1.0, a - a2);
^
0_0_25927905_28483\Main.java:33: 错误: 需要class, interface或enum
if (v2.imag() > -eps && v2.real() > -eps && v2.real() < w + eps) return max(v1.imag(), v2.imag());
^
0_0_25927905_28483\Main.java:34: 错误: 需要class, interface或enum
else return DBL_MAX;
^
0_0_25927905_28483\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_25927905_28483\Main.java:39: 错误: 需要class, interface或enum
int T = rint(); while (T--) {
^
0_0_25927905_28483\Main.java:41: 错误: 需要class, interface或enum
pt pts[3] = { pt(x1, y1), pt(x2, y2), pt(x3, y3) };
^
0_0_25927905_28483\Main.java:42: 错误: 需要class, interface或enum
sort(pts, pts + 3, cmp);
^
0_0_25927905_28483\Main.java:43: 错误: 需要class, interface或enum
double value = DBL_MAX;
^
0_0_25927905_28483\Main.java:44: 错误: 需要class, interface或enum
do { value = min(value, test(pts[1] - pts[0], pts[2] - pts[0])); } while (next_permutation(pts, pts + 3, cmp));
^
0_0_25927905_28483\Main.java:44: 错误: 需要class, interface或enum
do { value = min(value, test(pts[1] - pts[0], pts[2] - pts[0])); } while (next_permutation(pts, pts + 3, cmp));
^
0_0_25927905_28483\Main.java:45: 错误: 需要class, interface或enum
for (int i = 0; i < 3; i++) pts[i] = conj(pts[i]);
^
0_0_25927905_28483\Main.java:45: 错误: 需要class, interface或enum
for (int i = 0; i < 3; i++) pts[i] = conj(pts[i]);
^
0_0_25927905_28483\Main.java:45: 错误: 需要class, interface或enum
for (int i = 0; i < 3; i++) pts[i] = conj(pts[i]);
^
0_0_25927905_28483\Main.java:46: 错误: 需要class, interface或enum
sort(pts, pts + 3, cmp);
^
0_0_25927905_28483\Main.java:47: 错误: 需要class, interface或enum
do { value = min(value, test(pts[1] - pts[0], pts[2] - pts[0])); } while (next_permutation(pts, pts + 3, cmp));
^
0_0_25927905_28483\Main.java:47: 错误: 需要class, interface或enum
do { value = min(value, test(pts[1] - pts[0], pts[2] - pts[0])); } while (next_permutation(pts, pts + 3, cmp));
^
0_0_25927905_28483\Main.java:48: 错误: 需要class, interface或enum
if (value == DBL_MAX) puts("impossible");
^
0_0_25927905_28483\Main.java:49: 错误: 需要class, interface或enum
else printf("%.12f\n", value);
^
0_0_25927905_28483\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_25927905_28483\Main.java:52: 错误: 需要class, interface或enum
}
^
52 个错误
|