vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:28:29: error: no matching function for call to 'std::vector<int>::push_back(int&, int&)'
28 | u.append(n,m);
| ^
In file included from /usr/include/c++/10/vector:67,
from vision.h:5,
from vision.cpp:2:
/usr/include/c++/10/bits/stl_vector.h:1187:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::value_type = int]'
1187 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1187:7: note: candidate expects 1 argument, 2 provided
/usr/include/c++/10/bits/stl_vector.h:1203:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::value_type = int]'
1203 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1203:7: note: candidate expects 1 argument, 2 provided
vision.cpp:14:9: warning: unused variable 'p' [-Wunused-variable]
14 | int p,q,r;
| ^
vision.cpp:14:11: warning: unused variable 'q' [-Wunused-variable]
14 | int p,q,r;
| ^