vision.cpp: In function 'int ans(int, int, int)':
vision.cpp:36:28: error: could not convert '{p, x}' from '<brace-enclosed initializer list>' to 'std::vector<int>'
b.push_back(add_and({p,x}));
^
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}));
^
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:67:10: error: 'k' was not declared in this scope
ans(H,W,k);
^