worldmap.cpp: In function 'void dfs(int)':
worldmap.cpp:15:13: error: reference to 'span' is ambiguous
15 | span[u].push_back(v);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:147,
from worldmap.cpp:2:
/usr/include/c++/11/span:56:11: note: candidates are: 'template<class _Type, long unsigned int _Extent> class std::span'
56 | class span;
| ^~~~
worldmap.cpp:7:13: note: 'std::vector<int> span [45]'
7 | vector<int> span[45], adj[45];
| ^~~~
worldmap.cpp:16:13: error: reference to 'span' is ambiguous
16 | span[v].push_back(u);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:147,
from worldmap.cpp:2:
/usr/include/c++/11/span:56:11: note: candidates are: 'template<class _Type, long unsigned int _Extent> class std::span'
56 | class span;
| ^~~~
worldmap.cpp:7:13: note: 'std::vector<int> span [45]'
7 | vector<int> span[45], adj[45];
| ^~~~
worldmap.cpp: In function 'std::vector<std::vector<int> > create_map(int, int, std::vector<int>, std::vector<int>)':
worldmap.cpp:37:34: error: reference to 'span' is ambiguous
37 | for (int i = 0; i < 45; ++i) span[i].clear();
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:147,
from worldmap.cpp:2:
/usr/include/c++/11/span:56:11: note: candidates are: 'template<class _Type, long unsigned int _Extent> class std::span'
56 | class span;
| ^~~~
worldmap.cpp:7:13: note: 'std::vector<int> span [45]'
7 | vector<int> span[45], adj[45];
| ^~~~