vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:31:23: error: too many arguments to function 'int add_or(std::vector<int>)'
diag[i]=add_or(cur,p);
^
In file included from vision.cpp:4:0:
vision.h:12:5: note: declared here
int add_or(std::vector<int> Ns);
^~~~~~
vision.cpp:36:22: error: could not convert 'diag[(i + k)]' from 'int' to 'std::vector<int>'
a=add_and(diag[i+k],cur);
~~~~~~~~^
vision.cpp:43:18: error: too many arguments to function 'int add_and(std::vector<int>)'
b=add_and(p,cur);
^
In file included from vision.cpp:4:0:
vision.h:10:5: note: declared here
int add_and(std::vector<int> Ns);
^~~~~~~
vision.cpp:45:26: error: could not convert 'b' from 'int' to 'std::vector<int>'
V.push_back(add_xor(b,a));
^
vision.cpp:59:20: error: too many arguments to function 'int add_or(std::vector<int>)'
d[i]=add_or(cur,p);
^
In file included from vision.cpp:4:0:
vision.h:12:5: note: declared here
int add_or(std::vector<int> Ns);
^~~~~~
vision.cpp:65:19: error: too many arguments to function 'int add_and(std::vector<int>)'
a=add_and(p,cur);
^
In file included from vision.cpp:4:0:
vision.h:10:5: note: declared here
int add_and(std::vector<int> Ns);
^~~~~~~
vision.cpp:72:18: error: too many arguments to function 'int add_and(std::vector<int>)'
b=add_and(p,cur);
^
In file included from vision.cpp:4:0:
vision.h:10:5: note: declared here
int add_and(std::vector<int> Ns);
^~~~~~~
vision.cpp:74:26: error: could not convert 'b' from 'int' to 'std::vector<int>'
V.push_back(add_xor(b,a));
^