vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:48:32: error: could not convert 'X.std::vector<int>::operator[](((std::vector<int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} to 'std::vector<int>'
48 | shit.pb(add_and(X[i], X[i+d]));
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}
vision.cpp:56:32: error: could not convert 'Y.std::vector<int>::operator[](((std::vector<int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} to 'std::vector<int>'
56 | shit.pb(add_and(Y[i], Y[i+d]));
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}
vision.cpp:65:40: error: could not convert 'DX.std::vector<int>::operator[](((std::vector<int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} to 'std::vector<int>'
65 | if (i+j==k) A.pb(add_and(DX[i], DY[j]));
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}
vision.cpp:66:42: error: could not convert 'DX.std::vector<int>::operator[](((std::vector<int>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} to 'std::vector<int>'
66 | if (i+j==k+1) B.pb(add_and(DX[i], DY[j]));
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}
vision.cpp:70:10: error: could not convert 'a' from 'int' to 'std::vector<int>'
70 | add_and(a, add_not(b));
| ^
| |
| int