vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:21:19: error: reference to 'any' is ambiguous
21 | segs1.push_back(any(v));
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from vision.cpp:2:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
vision.cpp:6:4: note: 'll any(const std::vector<int>&)'
6 | ll any(const vector<ll> &v){
| ^~~
vision.cpp:30:19: error: reference to 'any' is ambiguous
30 | segs2.push_back(any(v));
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from vision.cpp:2:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
vision.cpp:6:4: note: 'll any(const std::vector<int>&)'
6 | ll any(const vector<ll> &v){
| ^~~
vision.cpp:39:12: error: reference to 'any' is ambiguous
39 | ll res1 = any(gp1);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from vision.cpp:2:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
vision.cpp:6:4: note: 'll any(const std::vector<int>&)'
6 | ll any(const vector<ll> &v){
| ^~~
vision.cpp:40:12: error: reference to 'any' is ambiguous
40 | ll res2 = any(gp2);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:126,
from vision.cpp:2:
/usr/include/c++/10/any:77:9: note: candidates are: 'class std::any'
77 | class any
| ^~~
vision.cpp:6:4: note: 'll any(const std::vector<int>&)'
6 | ll any(const vector<ll> &v){
| ^~~