vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:36:37: error: too many arguments to function 'int add_and(std::vector<int>)'
b.push_back(add_and(p,add_and(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:38:28: error: could not convert '{b, a}' from '<brace-enclosed initializer list>' to 'std::vector<int>'
V.push_back(add_xor({b,a}));
^
vision.cpp:59:39: error: could not convert '{p, add_and(std::vector<int>(cur))}' from '<brace-enclosed initializer list>' to 'std::vector<int>'
b.push_back(add_and({p,add_and(cur)}));
^
vision.cpp:61:28: error: could not convert '{b, a}' from '<brace-enclosed initializer list>' to 'std::vector<int>'
V.push_back(add_xor({b,a}));
^