vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:33:2: note: in expansion of macro 'fp'
33 | fp(i,0,h){
| ^~
vision.cpp:14:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
14 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
vision.cpp:34:3: note: in expansion of macro 'fp'
34 | fp(j,0,w){
| ^~
vision.cpp:39:12: error: 'add_and' was not declared in this scope
39 | ss.pb(add_and({x, (a+i)*w + (b+j)}));
| ^~~~~~~
vision.cpp:42:12: error: 'add_and' was not declared in this scope
42 | ss.pb(add_and({x, (a+i)*w + (b-j)}));
| ^~~~~~~
vision.cpp:45:12: error: 'add_and' was not declared in this scope
45 | ss.pb(add_and({x, (a-i)*w + (b+j)}));
| ^~~~~~~
vision.cpp:48:12: error: 'add_and' was not declared in this scope
48 | ss.pb(add_and({x, (a-i)*w + (b-j)}));
| ^~~~~~~
vision.cpp:37:9: warning: unused variable 'y' [-Wunused-variable]
37 | int y = (a+i)*w + (b+j);
| ^
vision.cpp:54:2: error: 'add_or' was not declared in this scope
54 | add_or(ss);
| ^~~~~~