collapse.cpp: In function 'vi solver2::simulateCollapse(int, vi, vi, vi, vi, vi)':
collapse.cpp:43:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<W.size();i++){
~^~~~~~~~~
collapse.cpp:47:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int L=0;L<T.size();L+=B){
~^~~~~~~~~
collapse.cpp:49:3: error: 'unordered_set' was not declared in this scope
unordered_set<ll> base,s;
^~~~~~~~~~~~~
collapse.cpp:49:19: error: expected primary-expression before '>' token
unordered_set<ll> base,s;
^
collapse.cpp:49:21: error: 'base' was not declared in this scope
unordered_set<ll> base,s;
^~~~
collapse.cpp:49:26: error: 's' was not declared in this scope
unordered_set<ll> base,s;
^
collapse.cpp:63:14: error: unable to deduce 'auto&&' from 'base'
for(auto e:base){
^~~~
collapse.cpp:65:23: error: 'y' was not declared in this scope
graph[x].push_back(y);
^
collapse.cpp:78:20: error: expected primary-expression before '>' token
unordered_set<ll> conc;
^
collapse.cpp:78:22: error: 'conc' was not declared in this scope
unordered_set<ll> conc;
^~~~
collapse.cpp:78:22: note: suggested alternative: 'clone'
unordered_set<ll> conc;
^~~~
clone
collapse.cpp:79:15: error: unable to deduce 'auto&&' from 's'
for(auto e:s){
^
collapse.cpp:81:14: error: 'y' was not declared in this scope
x=cmp[x],y=cmp[y];
^
collapse.cpp:88:15: error: unable to deduce 'auto&&' from 'conc'
for(auto i:conc)if(vis[i]==0){
^~~~
collapse.cpp:92:15: error: unable to deduce 'auto&&' from 'conc'
for(auto i:conc){vis[i]=0;graph[i].clear();}
^~~~