0_0_36016113_21237\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_36016113_21237\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_36016113_21237\Main.java:5: 错误: 非法字符: '#'
#define ll long long
^
0_0_36016113_21237\Main.java:5: 错误: 需要class, interface或enum
#define ll long long
^
0_0_36016113_21237\Main.java:9: 错误: 需要class, interface或enum
T s = 0,f = 1; int ch = getchar();
^
0_0_36016113_21237\Main.java:10: 错误: 需要class, interface或enum
while(!isdigit(ch)) {if(ch == '-') f = -1;ch = getchar();}
^
0_0_36016113_21237\Main.java:10: 错误: 需要class, interface或enum
while(!isdigit(ch)) {if(ch == '-') f = -1;ch = getchar();}
^
0_0_36016113_21237\Main.java:10: 错误: 需要class, interface或enum
while(!isdigit(ch)) {if(ch == '-') f = -1;ch = getchar();}
^
0_0_36016113_21237\Main.java:11: 错误: 需要class, interface或enum
while(isdigit(ch)) {s = (s << 3) + (s << 1) + ch - 48; ch = getchar();}
^
0_0_36016113_21237\Main.java:11: 错误: 需要class, interface或enum
while(isdigit(ch)) {s = (s << 3) + (s << 1) + ch - 48; ch = getchar();}
^
0_0_36016113_21237\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:14: 错误: 非法字符: '#'
#define gn() read<int>()
^
0_0_36016113_21237\Main.java:15: 错误: 非法字符: '#'
#define gl() read<ll>()
^
0_0_36016113_21237\Main.java:19: 错误: 非法字符: '#'
#define DEBUG if (debug)
^
0_0_36016113_21237\Main.java:19: 错误: 需要class, interface或enum
#define DEBUG if (debug)
^
0_0_36016113_21237\Main.java:22: 错误: 需要class, interface或enum
constexpr int N = 105;
^
0_0_36016113_21237\Main.java:23: 错误: 需要class, interface或enum
constexpr double eps = 1e-7;
^
0_0_36016113_21237\Main.java:24: 错误: 需要class, interface或enum
constexpr int INF = 0x3f3f3f3f;
^
0_0_36016113_21237\Main.java:29: 错误: 需要class, interface或enum
int S, T, n, m, tot = -1;
^
0_0_36016113_21237\Main.java:30: 错误: 需要class, interface或enum
int head[N], incf[N], pre[N], vis[N], max_flow;
^
0_0_36016113_21237\Main.java:31: 错误: 需要class, interface或enum
double min_cost, dis[N];
^
0_0_36016113_21237\Main.java:33: 错误: 需要class, interface或enum
struct node {
^
0_0_36016113_21237\Main.java:35: 错误: 需要class, interface或enum
double c;
^
0_0_36016113_21237\Main.java:36: 错误: 需要class, interface或enum
}s[M];
^
0_0_36016113_21237\Main.java:38: 错误: 需要class, interface或enum
void add(int x, int y, int w, double c) {
^
0_0_36016113_21237\Main.java:40: 错误: 需要class, interface或enum
head[x] = tot;
^
0_0_36016113_21237\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:45: 错误: 需要class, interface或enum
add(y, x, 0, -c);
^
0_0_36016113_21237\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:50: 错误: 需要class, interface或enum
min_cost = 0.0, max_flow = 0;
^
0_0_36016113_21237\Main.java:51: 错误: 需要class, interface或enum
memset(head, -1, sizeof head);
^
0_0_36016113_21237\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:55: 错误: 需要class, interface或enum
for (int i = S; i <= T; ++i) {
^
0_0_36016113_21237\Main.java:55: 错误: 需要class, interface或enum
for (int i = S; i <= T; ++i) {
^
0_0_36016113_21237\Main.java:57: 错误: 需要class, interface或enum
vis[i] = 0;
^
0_0_36016113_21237\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:60: 错误: 需要class, interface或enum
queue<int> q; q.push(S);
^
0_0_36016113_21237\Main.java:60: 错误: 需要class, interface或enum
queue<int> q; q.push(S);
^
0_0_36016113_21237\Main.java:61: 错误: 需要class, interface或enum
vis[S] = 1;
^
0_0_36016113_21237\Main.java:62: 错误: 需要class, interface或enum
incf[S] = INF;
^
0_0_36016113_21237\Main.java:63: 错误: 需要class, interface或enum
pre[T] = 0;
^
0_0_36016113_21237\Main.java:64: 错误: 需要class, interface或enum
while (not q.empty()) {
^
0_0_36016113_21237\Main.java:66: 错误: 需要class, interface或enum
q.pop();
^
0_0_36016113_21237\Main.java:67: 错误: 需要class, interface或enum
vis[now] = 0;
^
0_0_36016113_21237\Main.java:68: 错误: 需要class, interface或enum
for (int i = head[now]; ~i; i = s[i].net) {
^
0_0_36016113_21237\Main.java:68: 错误: 需要class, interface或enum
for (int i = head[now]; ~i; i = s[i].net) {
^
0_0_36016113_21237\Main.java:68: 错误: 需要class, interface或enum
for (int i = head[now]; ~i; i = s[i].net) {
^
0_0_36016113_21237\Main.java:70: 错误: 需要class, interface或enum
if (dis[to] > dis[now] + s[i].c + eps and s[i].w) {
^
0_0_36016113_21237\Main.java:72: 错误: 需要class, interface或enum
incf[to] = min(incf[now], s[i].w);
^
0_0_36016113_21237\Main.java:73: 错误: 需要class, interface或enum
pre[to] = i;
^
0_0_36016113_21237\Main.java:74: 错误: 需要class, interface或enum
if (not vis[to]) {
^
0_0_36016113_21237\Main.java:75: 错误: 需要class, interface或enum
q.push(to); vis[to] = 1;
^
0_0_36016113_21237\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:81: 错误: 需要class, interface或enum
int x = T;
^
0_0_36016113_21237\Main.java:82: 错误: 需要class, interface或enum
while (x != S) {
^
0_0_36016113_21237\Main.java:84: 错误: 需要class, interface或enum
s[i].w -= incf[T]; s[i ^ 1].w += incf[T];
^
0_0_36016113_21237\Main.java:84: 错误: 需要class, interface或enum
s[i].w -= incf[T]; s[i ^ 1].w += incf[T];
^
0_0_36016113_21237\Main.java:85: 错误: 需要class, interface或enum
x = s[i ^ 1].to;
^
0_0_36016113_21237\Main.java:86: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:88: 错误: 需要class, interface或enum
min_cost += dis[T];
^
0_0_36016113_21237\Main.java:89: 错误: 需要class, interface或enum
return true;
^
0_0_36016113_21237\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:94: 错误: 需要class, interface或enum
n = gn(), m = gn();
^
0_0_36016113_21237\Main.java:95: 错误: 需要class, interface或enum
S = 0, T = n + 1;
^
0_0_36016113_21237\Main.java:96: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) {
^
0_0_36016113_21237\Main.java:96: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) {
^
0_0_36016113_21237\Main.java:96: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) {
^
0_0_36016113_21237\Main.java:98: 错误: 需要class, interface或enum
if (a > b) {
^
0_0_36016113_21237\Main.java:100: 错误: 需要class, interface或enum
} else {
^
0_0_36016113_21237\Main.java:102: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:105: 错误: 需要class, interface或enum
for (int i = 1; i <= m; ++i) {
^
0_0_36016113_21237\Main.java:105: 错误: 需要class, interface或enum
for (int i = 1; i <= m; ++i) {
^
0_0_36016113_21237\Main.java:107: 错误: 需要class, interface或enum
double c;
^
0_0_36016113_21237\Main.java:108: 错误: 需要class, interface或enum
scanf("%lf", &c);
^
0_0_36016113_21237\Main.java:109: 错误: 需要class, interface或enum
add_net_edge(x, y, 1, -log(1.0));
^
0_0_36016113_21237\Main.java:110: 错误: 需要class, interface或enum
if (w - 1) add_net_edge(x, y, w - 1, -log2(1.0 - c));
^
0_0_36016113_21237\Main.java:111: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:115: 错误: 需要class, interface或enum
double ans = 1.0 - pow(2.0, -min_cost);
^
0_0_36016113_21237\Main.java:116: 错误: 需要class, interface或enum
printf("%.2f\n", ans);
^
0_0_36016113_21237\Main.java:117: 错误: 需要class, interface或enum
}
^
0_0_36016113_21237\Main.java:120: 错误: 非法字符: '#'
#if ONLINE_JUDGE
^
0_0_36016113_21237\Main.java:122: 错误: 非法字符: '#'
#else
^
0_0_36016113_21237\Main.java:123: 错误: 需要class, interface或enum
debug = true;
^
0_0_36016113_21237\Main.java:124: 错误: 非法字符: '#'
#endif
^
0_0_36016113_21237\Main.java:126: 错误: 需要class, interface或enum
int _ = gn();
^
0_0_36016113_21237\Main.java:127: 错误: 需要class, interface或enum
while(_--) solve();
^
0_0_36016113_21237\Main.java:128: 错误: 需要class, interface或enum
}
^
87 个错误
|