0_0_13955593_28499\Main.java:1: 错误: 非法字符: '#'
#pragma comment(linker, "/STACK:102400000,102400000")
^
0_0_13955593_28499\Main.java:1: 错误: 需要class, interface或enum
#pragma comment(linker, "/STACK:102400000,102400000")
^
0_0_13955593_28499\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_13955593_28499\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_13955593_28499\Main.java:4: 错误: 非法字符: '#'
#include<iostream>
^
0_0_13955593_28499\Main.java:5: 错误: 非法字符: '#'
#include<vector>
^
0_0_13955593_28499\Main.java:6: 错误: 非法字符: '#'
#include<stack>
^
0_0_13955593_28499\Main.java:8: 错误: 需要class, interface或enum
const int maxm=maxn*2;
^
0_0_13955593_28499\Main.java:9: 错误: 需要class, interface或enum
using namespace std;
^
0_0_13955593_28499\Main.java:10: 错误: 需要class, interface或enum
struct Edge
^
0_0_13955593_28499\Main.java:13: 错误: 需要class, interface或enum
int v;
^
0_0_13955593_28499\Main.java:14: 错误: 需要class, interface或enum
Edge(){}
^
0_0_13955593_28499\Main.java:18: 错误: 需要class, interface或enum
v=sv;
^
0_0_13955593_28499\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:21: 错误: 需要class, interface或enum
int e,n,m,nxt[maxm],head[maxn],pnt[maxm],dfn[maxn],low[maxn],iscut[maxn],bccno[maxn],dfs_clock,bcc_cnt;
^
0_0_13955593_28499\Main.java:22: 错误: 需要class, interface或enum
vector<int> bcc[maxn];
^
0_0_13955593_28499\Main.java:23: 错误: 需要class, interface或enum
stack<Edge> s;
^
0_0_13955593_28499\Main.java:24: 错误: 需要class, interface或enum
int dfs(int u,int fa)
^
0_0_13955593_28499\Main.java:27: 错误: 需要class, interface或enum
int child=0;
^
0_0_13955593_28499\Main.java:28: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=nxt[i])
^
0_0_13955593_28499\Main.java:28: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=nxt[i])
^
0_0_13955593_28499\Main.java:28: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=nxt[i])
^
0_0_13955593_28499\Main.java:33: 错误: 需要class, interface或enum
child++;
^
0_0_13955593_28499\Main.java:34: 错误: 需要class, interface或enum
low[u]=min(low[u],dfs(pnt[i],u));
^
0_0_13955593_28499\Main.java:35: 错误: 需要class, interface或enum
if(dfn[u]<=low[pnt[i]])
^
0_0_13955593_28499\Main.java:38: 错误: 需要class, interface或enum
bcc_cnt++;
^
0_0_13955593_28499\Main.java:39: 错误: 需要class, interface或enum
bcc[bcc_cnt].clear();
^
0_0_13955593_28499\Main.java:40: 错误: 需要class, interface或enum
for(;;)
^
0_0_13955593_28499\Main.java:40: 错误: 需要class, interface或enum
for(;;)
^
0_0_13955593_28499\Main.java:43: 错误: 需要class, interface或enum
s.pop();
^
0_0_13955593_28499\Main.java:44: 错误: 需要class, interface或enum
if(bccno[x.u]!=bcc_cnt)
^
0_0_13955593_28499\Main.java:47: 错误: 需要class, interface或enum
bccno[x.u]=bcc_cnt;
^
0_0_13955593_28499\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:52: 错误: 需要class, interface或enum
bccno[x.v]=bcc_cnt;
^
0_0_13955593_28499\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:62: 错误: 需要class, interface或enum
low[u]=min(low[u],dfn[pnt[i]]);
^
0_0_13955593_28499\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:67: 错误: 需要class, interface或enum
return low[u];
^
0_0_13955593_28499\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:71: 错误: 需要class, interface或enum
pnt[e]=v;nxt[e]=head[u];head[u]=e++;
^
0_0_13955593_28499\Main.java:71: 错误: 需要class, interface或enum
pnt[e]=v;nxt[e]=head[u];head[u]=e++;
^
0_0_13955593_28499\Main.java:72: 错误: 需要class, interface或enum
pnt[e]=u;nxt[e]=head[v];head[v]=e++;
^
0_0_13955593_28499\Main.java:72: 错误: 需要class, interface或enum
pnt[e]=u;nxt[e]=head[v];head[v]=e++;
^
0_0_13955593_28499\Main.java:72: 错误: 需要class, interface或enum
pnt[e]=u;nxt[e]=head[v];head[v]=e++;
^
0_0_13955593_28499\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:77: 错误: 需要class, interface或enum
memset(iscut,0,sizeof(iscut));
^
0_0_13955593_28499\Main.java:78: 错误: 需要class, interface或enum
memset(bccno,0,sizeof(bccno));
^
0_0_13955593_28499\Main.java:79: 错误: 需要class, interface或enum
dfs_clock=bcc_cnt=0;
^
0_0_13955593_28499\Main.java:80: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_13955593_28499\Main.java:80: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_13955593_28499\Main.java:80: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_13955593_28499\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:87: 错误: 需要class, interface或enum
long long ans1=0,ans2=1;
^
0_0_13955593_28499\Main.java:88: 错误: 需要class, interface或enum
for(int i=1;i<=bcc_cnt;i++)
^
0_0_13955593_28499\Main.java:88: 错误: 需要class, interface或enum
for(int i=1;i<=bcc_cnt;i++)
^
0_0_13955593_28499\Main.java:88: 错误: 需要class, interface或enum
for(int i=1;i<=bcc_cnt;i++)
^
0_0_13955593_28499\Main.java:91: 错误: 需要class, interface或enum
for(int j=0;j<bcc[i].size();j++)
^
0_0_13955593_28499\Main.java:91: 错误: 需要class, interface或enum
for(int j=0;j<bcc[i].size();j++)
^
0_0_13955593_28499\Main.java:91: 错误: 需要class, interface或enum
for(int j=0;j<bcc[i].size();j++)
^
0_0_13955593_28499\Main.java:94: 错误: 需要class, interface或enum
if(cut_cnt==1)
^
0_0_13955593_28499\Main.java:97: 错误: 需要class, interface或enum
ans2*=(long long)(bcc[i].size()-cut_cnt);
^
0_0_13955593_28499\Main.java:98: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:103: 错误: 需要class, interface或enum
ans2=bcc[1].size()*(bcc[1].size()-1)/2;
^
0_0_13955593_28499\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:106: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:110: 错误: 需要class, interface或enum
while(scanf("%d",&m)&&m)
^
0_0_13955593_28499\Main.java:113: 错误: 需要class, interface或enum
memset(head,-1,sizeof(head));
^
0_0_13955593_28499\Main.java:114: 错误: 需要class, interface或enum
while(!s.empty())
^
0_0_13955593_28499\Main.java:116: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_13955593_28499\Main.java:116: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_13955593_28499\Main.java:116: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_13955593_28499\Main.java:119: 错误: 需要class, interface或enum
scanf("%d%d",&u,&v);
^
0_0_13955593_28499\Main.java:120: 错误: 需要class, interface或enum
n=max(n,u);
^
0_0_13955593_28499\Main.java:121: 错误: 需要class, interface或enum
n=max(n,v);
^
0_0_13955593_28499\Main.java:122: 错误: 需要class, interface或enum
AddEdge(u,v);
^
0_0_13955593_28499\Main.java:123: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:125: 错误: 需要class, interface或enum
solve();
^
0_0_13955593_28499\Main.java:126: 错误: 需要class, interface或enum
}
^
0_0_13955593_28499\Main.java:128: 错误: 需要class, interface或enum
}
^
80 个错误
|