0_0_30922438_22424\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_30922438_22424\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_30922438_22424\Main.java:4: 错误: 需要class, interface或enum
const int maxn = 1005 * 2;
^
0_0_30922438_22424\Main.java:5: 错误: 需要class, interface或enum
int dfs_clock, scc_cnt;
^
0_0_30922438_22424\Main.java:6: 错误: 需要class, interface或enum
int dfn[maxn], low[maxn], belong[maxn];
^
0_0_30922438_22424\Main.java:7: 错误: 需要class, interface或enum
bool vis[maxn];
^
0_0_30922438_22424\Main.java:8: 错误: 需要class, interface或enum
stack<int> S;
^
0_0_30922438_22424\Main.java:9: 错误: 需要class, interface或enum
vector<int> e[maxn];
^
0_0_30922438_22424\Main.java:10: 错误: 需要class, interface或enum
int n, m;
^
0_0_30922438_22424\Main.java:12: 错误: 需要class, interface或enum
void tarjan(int u)
^
0_0_30922438_22424\Main.java:15: 错误: 需要class, interface或enum
vis[u] = true;
^
0_0_30922438_22424\Main.java:16: 错误: 需要class, interface或enum
S.push(u);
^
0_0_30922438_22424\Main.java:17: 错误: 需要class, interface或enum
for (int v:e[u]) {
^
0_0_30922438_22424\Main.java:20: 错误: 需要class, interface或enum
low[u] = min(low[u], low[v]);
^
0_0_30922438_22424\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:27: 错误: 需要class, interface或enum
do {
^
0_0_30922438_22424\Main.java:29: 错误: 需要class, interface或enum
belong[temp] = scc_cnt;
^
0_0_30922438_22424\Main.java:30: 错误: 需要class, interface或enum
vis[temp] = false;
^
0_0_30922438_22424\Main.java:31: 错误: 需要class, interface或enum
S.pop();
^
0_0_30922438_22424\Main.java:32: 错误: 需要class, interface或enum
} while (temp != u);
^
0_0_30922438_22424\Main.java:33: 错误: 需要class, interface或enum
scc_cnt++;
^
0_0_30922438_22424\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:40: 错误: 需要class, interface或enum
memset(dfn, 0, sizeof dfn);
^
0_0_30922438_22424\Main.java:41: 错误: 需要class, interface或enum
memset(low, 0, sizeof low);
^
0_0_30922438_22424\Main.java:42: 错误: 需要class, interface或enum
memset(vis, 0, sizeof vis);
^
0_0_30922438_22424\Main.java:43: 错误: 需要class, interface或enum
memset(belong, 0, sizeof belong);
^
0_0_30922438_22424\Main.java:44: 错误: 需要class, interface或enum
while (!S.empty()) S.pop();
^
0_0_30922438_22424\Main.java:45: 错误: 需要class, interface或enum
for (auto &it:e) it.clear();
^
0_0_30922438_22424\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:50: 错误: 需要class, interface或enum
for (int i = 0; i < 2 * n; i++)
^
0_0_30922438_22424\Main.java:50: 错误: 需要class, interface或enum
for (int i = 0; i < 2 * n; i++)
^
0_0_30922438_22424\Main.java:52: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)// 同一个联通块
^
0_0_30922438_22424\Main.java:52: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)// 同一个联通块
^
0_0_30922438_22424\Main.java:52: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)// 同一个联通块
^
0_0_30922438_22424\Main.java:54: 错误: 需要class, interface或enum
return true;
^
0_0_30922438_22424\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:65: 错误: 需要class, interface或enum
while (cin >> n >> m) {
^
0_0_30922438_22424\Main.java:67: 错误: 需要class, interface或enum
for (int i = 1; i <= m; i++) {
^
0_0_30922438_22424\Main.java:67: 错误: 需要class, interface或enum
for (int i = 1; i <= m; i++) {
^
0_0_30922438_22424\Main.java:67: 错误: 需要class, interface或enum
for (int i = 1; i <= m; i++) {
^
0_0_30922438_22424\Main.java:69: 错误: 需要class, interface或enum
cin >> x >> y >> c1 >> c2;
^
0_0_30922438_22424\Main.java:70: 错误: 需要class, interface或enum
add_clause(x * 2 + c1, (2 * y + c2) ^ 1);
^
0_0_30922438_22424\Main.java:71: 错误: 需要class, interface或enum
add_clause(y * 2 + c2, (2 * x + c1) ^ 1);
^
0_0_30922438_22424\Main.java:72: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:74: 错误: 需要class, interface或enum
else puts("NO");
^
0_0_30922438_22424\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_30922438_22424\Main.java:77: 错误: 需要class, interface或enum
}
^
49 个错误
|