0_0_37503973_5334.cpp:3:4: error: 'M' was not declared in this scope
}e[M<<1];
^
0_0_37503973_5334.cpp:4:10: error: 'N' was not declared in this scope
int head[N],n,m,cnt,cnt2;
^
0_0_37503973_5334.cpp: In function 'void add(int, int)':
0_0_37503973_5334.cpp:6:2: error: 'e' was not declared in this scope
e[++cnt].to=v;e[cnt].nxt=head[u];head[u]=cnt;
^
0_0_37503973_5334.cpp:6:27: error: 'head' was not declared in this scope
e[++cnt].to=v;e[cnt].nxt=head[u];head[u]=cnt;
^
0_0_37503973_5334.cpp: At global scope:
0_0_37503973_5334.cpp:9:9: error: 'N' was not declared in this scope
int dfn[N],low[N],cut[N],vis[N],ans1,ans2;
^
0_0_37503973_5334.cpp:9:16: error: 'N' was not declared in this scope
int dfn[N],low[N],cut[N],vis[N],ans1,ans2;
^
0_0_37503973_5334.cpp:9:23: error: 'N' was not declared in this scope
int dfn[N],low[N],cut[N],vis[N],ans1,ans2;
^
0_0_37503973_5334.cpp:9:30: error: 'N' was not declared in this scope
int dfn[N],low[N],cut[N],vis[N],ans1,ans2;
^
0_0_37503973_5334.cpp:10:1: error: 'stack' does not name a type
stack<int>s;vector<int>dcc;
^
0_0_37503973_5334.cpp:10:13: error: 'vector' does not name a type
stack<int>s;vector<int>dcc;
^
0_0_37503973_5334.cpp: In function 'void update()':
0_0_37503973_5334.cpp:13:14: error: 'dcc' was not declared in this scope
for(auto& u:dcc){
^
0_0_37503973_5334.cpp:14:13: error: 'head' was not declared in this scope
for(int i=head[u];i;i=e[i].nxt){
^
0_0_37503973_5334.cpp:14:25: error: 'e' was not declared in this scope
for(int i=head[u];i;i=e[i].nxt){
^
0_0_37503973_5334.cpp:15:7: error: 'vis' was not declared in this scope
if(vis[e[i].to])tot++;
^
0_0_37503973_5334.cpp:19:9: error: 'dcc' was not declared in this scope
if(tot>dcc.size())ans2+=tot;else if(tot<dcc.size())ans1+=tot;
^
0_0_37503973_5334.cpp: In function 'void dfs(int, int)':
0_0_37503973_5334.cpp:22:2: error: 'dfn' was not declared in this scope
dfn[u]=low[u]=++cnt2;
^
0_0_37503973_5334.cpp:22:9: error: 'low' was not declared in this scope
dfn[u]=low[u]=++cnt2;
^
0_0_37503973_5334.cpp:23:2: error: 's' was not declared in this scope
s.push(u);
^
0_0_37503973_5334.cpp:24:12: error: 'head' was not declared in this scope
for(int i=head[u];i;i=e[i].nxt){
^
0_0_37503973_5334.cpp:24:24: error: 'e' was not declared in this scope
for(int i=head[u];i;i=e[i].nxt){
^
0_0_37503973_5334.cpp:28:29: error: 'min' was not declared in this scope
low[u]=min(low[u],low[to]);
^
0_0_37503973_5334.cpp:30:5: error: 'cnt3' was not declared in this scope
cnt3++;memset(vis,0,sizeof(vis));
^
0_0_37503973_5334.cpp:30:19: error: 'vis' was not declared in this scope
cnt3++;memset(vis,0,sizeof(vis));
^
0_0_37503973_5334.cpp:30:36: error: 'memset' was not declared in this scope
cnt3++;memset(vis,0,sizeof(vis));
^
0_0_37503973_5334.cpp:31:11: error: 'dcc' was not declared in this scope
int z;dcc.clear();
^
0_0_37503973_5334.cpp:40:33: error: 'min' was not declared in this scope
else low[u]=min(low[u],dfn[to]);
^
|