island.cpp: In function 'int main()':
island.cpp:56:3: error: reference to 'any' is ambiguous
56 | any[a].pb(b);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from island.cpp:6:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
island.cpp:15:34: note: 'std::vector<int> any [200005]'
15 | vector<int>adj[MAXN],group[MAXN],any[MAXN];
| ^~~
island.cpp:57:3: error: reference to 'any' is ambiguous
57 | any[b].pb(a);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from island.cpp:6:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
island.cpp:15:34: note: 'std::vector<int> any [200005]'
15 | vector<int>adj[MAXN],group[MAXN],any[MAXN];
| ^~~
island.cpp:72:14: error: reference to 'any' is ambiguous
72 | for(int x:any[v[1]])if(!vis[x])S.insert({s[x],x});
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from island.cpp:6:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
island.cpp:15:34: note: 'std::vector<int> any [200005]'
15 | vector<int>adj[MAXN],group[MAXN],any[MAXN];
| ^~~