0_0_17214766_21926\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_17214766_21926\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_17214766_21926\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_17214766_21926\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17214766_21926\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_17214766_21926\Main.java:6: 错误: 需要class, interface或enum
const int N = 1e5 + 10;
^
0_0_17214766_21926\Main.java:7: 错误: 需要class, interface或enum
const int M = 6e5 + 10;
^
0_0_17214766_21926\Main.java:8: 错误: 需要class, interface或enum
struct Edge {
^
0_0_17214766_21926\Main.java:10: 错误: 需要class, interface或enum
Edge() {}
^
0_0_17214766_21926\Main.java:13: 错误: 需要class, interface或enum
int head[N], deg[N], n, m;
^
0_0_17214766_21926\Main.java:14: 错误: 需要class, interface或enum
int e_cnt;
^
0_0_17214766_21926\Main.java:16: 错误: 需要class, interface或enum
void addEdge(int u, int v) {
^
0_0_17214766_21926\Main.java:18: 错误: 需要class, interface或enum
edge[e_cnt].nxt = head[u];
^
0_0_17214766_21926\Main.java:19: 错误: 需要class, interface或enum
head[u] = e_cnt ++;
^
0_0_17214766_21926\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:23: 错误: 需要class, interface或enum
for(int k = head[u]; ~k; k = edge[k].nxt) {
^
0_0_17214766_21926\Main.java:23: 错误: 需要class, interface或enum
for(int k = head[u]; ~k; k = edge[k].nxt) {
^
0_0_17214766_21926\Main.java:25: 错误: 需要class, interface或enum
if(edge[k].w ^ edge[k ^ 1].w) continue; // visited
^
0_0_17214766_21926\Main.java:26: 错误: 需要class, interface或enum
edge[k].w = 1;
^
0_0_17214766_21926\Main.java:27: 错误: 需要class, interface或enum
if(deg[v]) {
^
0_0_17214766_21926\Main.java:29: 错误: 需要class, interface或enum
return;
^
0_0_17214766_21926\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:36: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i ++) {
^
0_0_17214766_21926\Main.java:36: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i ++) {
^
0_0_17214766_21926\Main.java:39: 错误: 需要class, interface或enum
dfs(i);
^
0_0_17214766_21926\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:42: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i ++) {
^
0_0_17214766_21926\Main.java:42: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i ++) {
^
0_0_17214766_21926\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:50: 错误: 需要class, interface或enum
scanf("%d", &t);
^
0_0_17214766_21926\Main.java:51: 错误: 需要class, interface或enum
while(t --) {
^
0_0_17214766_21926\Main.java:53: 错误: 需要class, interface或enum
memset(deg, 0, sizeof deg);
^
0_0_17214766_21926\Main.java:54: 错误: 需要class, interface或enum
e_cnt = 0;
^
0_0_17214766_21926\Main.java:55: 错误: 需要class, interface或enum
scanf("%d %d", &n, &m);
^
0_0_17214766_21926\Main.java:56: 错误: 需要class, interface或enum
for(int i = 0; i < m; i ++) {
^
0_0_17214766_21926\Main.java:56: 错误: 需要class, interface或enum
for(int i = 0; i < m; i ++) {
^
0_0_17214766_21926\Main.java:56: 错误: 需要class, interface或enum
for(int i = 0; i < m; i ++) {
^
0_0_17214766_21926\Main.java:58: 错误: 需要class, interface或enum
scanf("%d %d", &u, &v);
^
0_0_17214766_21926\Main.java:59: 错误: 需要class, interface或enum
addEdge(u, v);
^
0_0_17214766_21926\Main.java:60: 错误: 需要class, interface或enum
addEdge(v, u);
^
0_0_17214766_21926\Main.java:61: 错误: 需要class, interface或enum
deg[u] ^= 1, deg[v] ^= 1;
^
0_0_17214766_21926\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:64: 错误: 需要class, interface或enum
for(int i = 0; i < e_cnt; i += 2)
^
0_0_17214766_21926\Main.java:64: 错误: 需要class, interface或enum
for(int i = 0; i < e_cnt; i += 2)
^
0_0_17214766_21926\Main.java:64: 错误: 需要class, interface或enum
for(int i = 0; i < e_cnt; i += 2)
^
0_0_17214766_21926\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_17214766_21926\Main.java:68: 错误: 需要class, interface或enum
}
^
48 个错误
|