0_0_31621150_25315.cpp:57:15: error: 'siz' was not declared in this scope
vector<int> G[siz];
^
0_0_31621150_25315.cpp:58:7: error: expected unqualified-id before '[' token
int ll[siz],rr[siz],vis[siz];
^
0_0_31621150_25315.cpp: In function 'void dfs(int, int&)':
0_0_31621150_25315.cpp:62:7: error: expected unqualified-id before '[' token
ll[s]=id++;
^
0_0_31621150_25315.cpp:63:15: error: 'G' was not declared in this scope
for(i=0;i<G[s].size();i++)
^
0_0_31621150_25315.cpp:68:5: error: 'rr' was not declared in this scope
rr[s]=id++;
^
0_0_31621150_25315.cpp: In function 'int main()':
0_0_31621150_25315.cpp:80:9: error: 'vis' was not declared in this scope
vis[i]=0,G[i].clear();
^
0_0_31621150_25315.cpp:80:18: error: 'G' was not declared in this scope
vis[i]=0,G[i].clear();
^
0_0_31621150_25315.cpp:83:13: error: 'G' was not declared in this scope
G[v].push_back(u);
^
0_0_31621150_25315.cpp:84:13: error: 'vis' was not declared in this scope
vis[u]=1;
^
0_0_31621150_25315.cpp:10:12: error: expected primary-expression before 'long'
#define ll long long
^
0_0_31621150_25315.cpp:86:16: note: in expansion of macro 'll'
memset(ll,-1,sizeof(ll));
^
0_0_31621150_25315.cpp:87:16: error: 'rr' was not declared in this scope
memset(rr,-1,sizeof(rr));
^
0_0_31621150_25315.cpp:90:12: error: 'vis' was not declared in this scope
if(vis[i]==0)
^
0_0_31621150_25315.cpp:10:12: error: expected primary-expression before 'long'
#define ll long long
^
0_0_31621150_25315.cpp:100:37: note: in expansion of macro 'll'
printf("%d\n",query(ll[u],1,2*n,1));
^
0_0_31621150_25315.cpp:10:12: error: expected primary-expression before 'long'
#define ll long long
^
0_0_31621150_25315.cpp:105:24: note: in expansion of macro 'll'
change(ll[u],rr[u],v,1,2*n,1);
^
|