vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:23:58: error: too few arguments to function 'int cell(int, int, int)'
23 | for (int j = 0; j < m; j++) a.push_back(cell(i, j));
| ^
vision.cpp:5:5: note: declared here
5 | int cell(int i, int j, int m){
| ^~~~
vision.cpp:30:38: error: too few arguments to function 'int cell(int, int, int)'
30 | a.push_back(cell(i, j));
| ^
vision.cpp:5:5: note: declared here
5 | int cell(int i, int j, int m){
| ^~~~
vision.cpp:31:42: error: too few arguments to function 'int cell(int, int, int)'
31 | a.push_back(cell(i + 1, j));
| ^
vision.cpp:5:5: note: declared here
5 | int cell(int i, int j, int m){
| ^~~~
vision.cpp:42:58: error: too few arguments to function 'int cell(int, int, int)'
42 | for (int i = 0; i < n; i++) a.push_back(cell(i, j));
| ^
vision.cpp:5:5: note: declared here
5 | int cell(int i, int j, int m){
| ^~~~
vision.cpp:50:38: error: too few arguments to function 'int cell(int, int, int)'
50 | a.push_back(cell(i, j));
| ^
vision.cpp:5:5: note: declared here
5 | int cell(int i, int j, int m){
| ^~~~
vision.cpp:51:42: error: too few arguments to function 'int cell(int, int, int)'
51 | a.push_back(cell(i, j + 1));
| ^
vision.cpp:5:5: note: declared here
5 | int cell(int i, int j, int m){
| ^~~~
vision.cpp:93:28: error: could not convert 'v[i]' from 'int' to 'std::vector<int>'
93 | x = add_and(v[i], v[j]);
| ~~~^
| |
| int