vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:22:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<int, 3> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0;i<C.size();i++){
| ~^~~~~~~~~
vision.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<int, 3> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int j=0;j<C.size();j++){
| ~^~~~~~~~~
vision.cpp:31:31: error: could not convert '{cur, C.std::vector<std::array<int, 3> >::operator[](((std::vector<std::array<int, 3> >::size_type)i))}' from '<brace-enclosed initializer list>' to 'std::vector<int>'
31 | add_and({cur,C[i]});
| ^
| |
| <brace-enclosed initializer list>