vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:22:3: error: 'add_or' was not declared in this scope
22 | add_or(e);
| ^~~~~~
vision.cpp:31:8: error: 'add_or' was not declared in this scope
31 | a.pb(add_or(e));
| ^~~~~~
vision.cpp:37:8: error: 'add_or' was not declared in this scope
37 | c.pb(add_or(e));
| ^~~~~~
vision.cpp:40:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i=0; i<a.sz()-1; i++)
| ~^~~~~~~~~
vision.cpp:41:8: error: 'add_and' was not declared in this scope
41 | b.pb(add_and({a[i], a[i+1]}));
| ^~~~~~~
vision.cpp:43:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int i=0; i<c.sz()-1; i++)
| ~^~~~~~~~~
vision.cpp:44:8: error: 'add_and' was not declared in this scope
44 | b.pb(add_and({c[i], c[i+1]}));
| ^~~~~~~
vision.cpp:49:8: error: 'add_xor' was not declared in this scope
49 | int x=add_xor(a);
| ^~~~~~~
vision.cpp:51:2: error: 'add_and' was not declared in this scope
51 | add_and({x, y});
| ^~~~~~~