0_0_21039681_5755\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_21039681_5755\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_21039681_5755\Main.java:2: 错误: 非法字符: '#'
#include<vector>
^
0_0_21039681_5755\Main.java:4: 错误: 需要class, interface或enum
const int maxn = 100010;
^
0_0_21039681_5755\Main.java:6: 错误: 需要class, interface或enum
int n,m;
^
0_0_21039681_5755\Main.java:7: 错误: 需要class, interface或enum
vector<int>G[maxn];
^
0_0_21039681_5755\Main.java:8: 错误: 需要class, interface或enum
int deg[maxn];
^
0_0_21039681_5755\Main.java:10: 错误: 需要class, interface或enum
struct Edge
^
0_0_21039681_5755\Main.java:13: 错误: 需要class, interface或enum
};
^
0_0_21039681_5755\Main.java:15: 错误: 需要class, interface或enum
vector<Edge>edges;
^
0_0_21039681_5755\Main.java:17: 错误: 需要class, interface或enum
void add(int u,int v)
^
0_0_21039681_5755\Main.java:20: 错误: 需要class, interface或enum
G[u].push_back(edges.size()-1);
^
0_0_21039681_5755\Main.java:21: 错误: 需要class, interface或enum
edges.push_back((Edge){v,u,-1});
^
0_0_21039681_5755\Main.java:22: 错误: 需要class, interface或enum
G[v].push_back(edges.size()-1);
^
0_0_21039681_5755\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_21039681_5755\Main.java:28: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_21039681_5755\Main.java:28: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_21039681_5755\Main.java:28: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_21039681_5755\Main.java:31: 错误: 需要class, interface或enum
deg[i]=0;
^
0_0_21039681_5755\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_21039681_5755\Main.java:34: 错误: 需要class, interface或enum
int u,v;
^
0_0_21039681_5755\Main.java:35: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++)
^
0_0_21039681_5755\Main.java:35: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++)
^
0_0_21039681_5755\Main.java:35: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++)
^
0_0_21039681_5755\Main.java:38: 错误: 需要class, interface或enum
add(u,v);
^
0_0_21039681_5755\Main.java:39: 错误: 需要class, interface或enum
deg[u]++;
^
0_0_21039681_5755\Main.java:40: 错误: 需要class, interface或enum
deg[v]++;
^
0_0_21039681_5755\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_21039681_5755\Main.java:46: 错误: 需要class, interface或enum
for(int i=0;i<(int)G[u].size();i++)
^
0_0_21039681_5755\Main.java:46: 错误: 需要class, interface或enum
for(int i=0;i<(int)G[u].size();i++)
^
0_0_21039681_5755\Main.java:49: 错误: 需要class, interface或enum
if(e.dir==-1)
^
0_0_21039681_5755\Main.java:52: 错误: 需要class, interface或enum
edges[G[u][i]^1].dir=0;
^
0_0_21039681_5755\Main.java:53: 错误: 需要class, interface或enum
bool f = euler(e.to);
^
0_0_21039681_5755\Main.java:54: 错误: 需要class, interface或enum
deg[e.to]--;
^
0_0_21039681_5755\Main.java:55: 错误: 需要class, interface或enum
deg[e.from]--;
^
0_0_21039681_5755\Main.java:56: 错误: 需要class, interface或enum
if(f) return true;
^
0_0_21039681_5755\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_21039681_5755\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_21039681_5755\Main.java:65: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) if(deg[i]&1) euler(i);
^
0_0_21039681_5755\Main.java:65: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) if(deg[i]&1) euler(i);
^
0_0_21039681_5755\Main.java:65: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) if(deg[i]&1) euler(i);
^
0_0_21039681_5755\Main.java:66: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) if(deg[i]) euler(i);
^
0_0_21039681_5755\Main.java:66: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) if(deg[i]) euler(i);
^
0_0_21039681_5755\Main.java:66: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) if(deg[i]) euler(i);
^
0_0_21039681_5755\Main.java:67: 错误: 需要class, interface或enum
for(int i=0;i<(int)edges.size();i+=2) printf("%d\n",edges[i].dir);
^
0_0_21039681_5755\Main.java:67: 错误: 需要class, interface或enum
for(int i=0;i<(int)edges.size();i+=2) printf("%d\n",edges[i].dir);
^
0_0_21039681_5755\Main.java:67: 错误: 需要class, interface或enum
for(int i=0;i<(int)edges.size();i+=2) printf("%d\n",edges[i].dir);
^
0_0_21039681_5755\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_21039681_5755\Main.java:73: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_21039681_5755\Main.java:74: 错误: 需要class, interface或enum
while(T--) solve();
^
0_0_21039681_5755\Main.java:75: 错误: 需要class, interface或enum
return 0;
^
0_0_21039681_5755\Main.java:76: 错误: 需要class, interface或enum
}
^
52 个错误
|