0_0_38645646_31810.cpp:1:1: error: 'vector' does not name a type
vector<int>h[N];
^~~~~~
0_0_38645646_31810.cpp:3:9: error: 'N' was not declared in this scope
int low[N],num[N],dfn,cnt;
^
0_0_38645646_31810.cpp:3:16: error: 'N' was not declared in this scope
int low[N],num[N],dfn,cnt;
^
0_0_38645646_31810.cpp:4:11: error: 'N' was not declared in this scope
int sccno[N];
^
0_0_38645646_31810.cpp:5:1: error: 'stack' does not name a type
stack<int>sk;
^~~~~
0_0_38645646_31810.cpp: In function 'void dfs(int)':
0_0_38645646_31810.cpp:8:5: error: 'sk' was not declared in this scope
sk.push(u);
^~
0_0_38645646_31810.cpp:9:5: error: 'num' was not declared in this scope
num[u]=low[u]=++dfn;
^~~
0_0_38645646_31810.cpp:9:5: note: suggested alternative: 'enum'
num[u]=low[u]=++dfn;
^~~
enum
0_0_38645646_31810.cpp:9:12: error: 'low' was not declared in this scope
num[u]=low[u]=++dfn;
^~~
0_0_38645646_31810.cpp:9:12: note: suggested alternative: 'long'
num[u]=low[u]=++dfn;
^~~
long
0_0_38645646_31810.cpp:10:15: error: 'h' was not declared in this scope
for(int v:h[u]){
^
0_0_38645646_31810.cpp:13:20: error: 'min' was not declared in this scope
low[u]=min(low[u],low[v]);
^~~
0_0_38645646_31810.cpp:14:19: error: 'sccno' was not declared in this scope
}else if(!sccno[v]){//v不是优先级低联通分量里的点
^~~~~
0_0_38645646_31810.cpp:15:20: error: 'min' was not declared in this scope
low[u]=min(low[u],num[v]);
^~~
0_0_38645646_31810.cpp:23:13: error: 'sccno' was not declared in this scope
sccno[v]=cnt;
^~~~~
0_0_38645646_31810.cpp: In function 'void tarjan()':
0_0_38645646_31810.cpp:30:26: error: 'num' was not declared in this scope
for(int i=1;i<=n;i++)num[i]=0,low[i]=0,sccno[i]=0;
^~~
0_0_38645646_31810.cpp:30:26: note: suggested alternative: 'enum'
for(int i=1;i<=n;i++)num[i]=0,low[i]=0,sccno[i]=0;
^~~
enum
0_0_38645646_31810.cpp:30:35: error: 'low' was not declared in this scope
for(int i=1;i<=n;i++)num[i]=0,low[i]=0,sccno[i]=0;
^~~
0_0_38645646_31810.cpp:30:35: note: suggested alternative: 'long'
for(int i=1;i<=n;i++)num[i]=0,low[i]=0,sccno[i]=0;
^~~
long
0_0_38645646_31810.cpp:30:44: error: 'sccno' was not declared in this scope
for(int i=1;i<=n;i++)num[i]=0,low[i]=0,sccno[i]=0;
^~~~~
0_0_38645646_31810.cpp:33:13: error: 'num' was not declared in this scope
if(!num[i])dfs(i);
^~~
0_0_38645646_31810.cpp:33:13: note: suggested alternative: 'enum'
if(!num[i])dfs(i);
^~~
enum
0_0_38645646_31810.cpp: In function 'int main()':
0_0_38645646_31810.cpp:36:5: error: 'IOS' was not declared in this scope
IOS;
^~~
0_0_38645646_31810.cpp:37:12: error: 'cin' was not declared in this scope
while((cin>>n>>m))
^~~
0_0_38645646_31810.cpp:37:12: note: suggested alternative: 'main'
while((cin>>n>>m))
^~~
main
0_0_38645646_31810.cpp:41:30: error: 'h' was not declared in this scope
for(int i=1;i<=n;i++)h[i].clear();
^
0_0_38645646_31810.cpp:44:13: error: 'h' was not declared in this scope
h[a].push_back(b);
^
0_0_38645646_31810.cpp:47:19: error: 'cout' was not declared in this scope
if(cnt==1)cout<<"Yes";else cout<<"No";
^~~~
0_0_38645646_31810.cpp:47:19: note: suggested alternative: 'cnt'
if(cnt==1)cout<<"Yes";else cout<<"No";
^~~~
cnt
0_0_38645646_31810.cpp:47:36: error: 'cout' was not declared in this scope
if(cnt==1)cout<<"Yes";else cout<<"No";
^~~~
0_0_38645646_31810.cpp:47:36: note: suggested alternative: 'cnt'
if(cnt==1)cout<<"Yes";else cout<<"No";
^~~~
cnt
0_0_38645646_31810.cpp:48:9: error: 'cout' was not declared in this scope
cout<<'\n';
^~~~
0_0_38645646_31810.cpp:48:9: note: suggested alternative: 'cnt'
cout<<'\n';
^~~~
cnt
|