vision.cpp: In function 'void construct_network(long long int, long long int, long long int)':
vision.cpp:29:30: error: could not convert 'ors' from 'vector<long long int>' to 'vector<int>'
29 | int res = add_or(ors);
| ^~~
| |
| vector<long long int>
vision.cpp:30:45: warning: narrowing conversion of '((i * W) + j)' from 'long long int' to 'int' [-Wnarrowing]
30 | results.pb(add_and({add_and({i*W+j}), res}));
| ~~~^~
vision.cpp:30:45: warning: narrowing conversion of '((i * W) + j)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:30:51: warning: narrowing conversion of 'res' from 'long long int' to 'int' [-Wnarrowing]
30 | results.pb(add_and({add_and({i*W+j}), res}));
| ^~~
vision.cpp:30:51: warning: narrowing conversion of 'res' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:33:12: error: could not convert 'results' from 'vector<long long int>' to 'vector<int>'
33 | add_or(results);
| ^~~~~~~
| |
| vector<long long int>