vision.cpp:1:21: warning: extra tokens at end of #include directive
# include "vision.h";
^
vision.cpp: In function 'int get(int, int, int)':
vision.cpp:18:42: error: could not convert 'x1.std::vector<int>::operator[](((std::vector<int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}' to 'std::vector<int>'
res.push_back(add_and(x1[i], x2[i - K]));
^
vision.cpp:19:42: error: could not convert 'y1.std::vector<int>::operator[](((std::vector<int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}' to 'std::vector<int>'
res.push_back(add_and(y1[i], y2[i - K]));
^
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:26:14: error: could not convert 'get(H, W, K)' from 'int' to 'std::vector<int>'
add_xor(get(H, W, K), get(H, W, K + 1));
~~~^~~~~~~~~