0_0_32707969_13330.cpp:6:1: error: 'vector' does not name a type
vector<int>g[M];
^
0_0_32707969_13330.cpp: In function 'void tarjan(int)':
0_0_32707969_13330.cpp:14:19: error: 'g' was not declared in this scope
for(int i=0;i<g[u].size();i++){
^
0_0_32707969_13330.cpp:17:47: error: 'min' was not declared in this scope
tarjan(v),low[u]=min(low[u],low[v]);
^
0_0_32707969_13330.cpp:20:37: error: 'min' was not declared in this scope
low[u]=min(low[u],dfn[v]);
^
0_0_32707969_13330.cpp: In function 'void init()':
0_0_32707969_13330.cpp:37:9: error: 'g' was not declared in this scope
g[i].clear(),cmp[i]=0,low[i]=0,dfn[i]=0,out[i]=0,in[i]=0,line[i]=0,du[i]=0,sum[i]=0;
^
0_0_32707969_13330.cpp: In function 'int main()':
0_0_32707969_13330.cpp:41:15: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_32707969_13330.cpp:47:4: error: 'g' was not declared in this scope
g[u].pb(v);
^
0_0_32707969_13330.cpp:52:23: error: 'printf' was not declared in this scope
printf("Case %d: ",p);
^
0_0_32707969_13330.cpp:54:13: error: 'puts' was not declared in this scope
puts("-1");
^
0_0_32707969_13330.cpp:59:18: error: 'g' was not declared in this scope
for(int j=0;j<g[i].size();j++){
^
0_0_32707969_13330.cpp:77:38: error: 'max' was not declared in this scope
ans=max(ans,(sum1-sum2)+sum3+sum4);
^
|