worldmap.cpp: In function 'std::vector<std::vector<int> > create_map(int, int, std::vector<int>, std::vector<int>)':
worldmap.cpp:16:8: error: 'm' was not declared in this scope
16 | if(m==0) {
| ^
worldmap.cpp:20:37: error: invalid use of non-static member function 'constexpr void std::vector<_Tp, _Alloc>::clear() [with _Tp = int; _Alloc = std::allocator<int>]'
20 | for(int i = 0; i<=40; i++) v[i].clear;
| ~~~~~^~~~~
In file included from /usr/include/c++/13/vector:66,
from /usr/include/c++/13/functional:64,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:53,
from worldmap.cpp:1:
/usr/include/c++/13/bits/stl_vector.h:1605:7: note: declared here
1605 | clear() _GLIBCXX_NOEXCEPT
| ^~~~~