vision.cpp: In function 'std::vector<int> dist(std::vector<int>)':
vision.cpp:15:29: error: 'add_or' was not declared in this scope
15 | split[i] = add_and({add_or(l), add_or(r)});
| ^~~~~~
vision.cpp:15:20: error: 'add_and' was not declared in this scope
15 | split[i] = add_and({add_or(l), add_or(r)});
| ^~~~~~~
vision.cpp:26:42: error: 'add_or' was not declared in this scope
26 | bools.push_back(add_and({add_or(ones), split[j]}));
| ^~~~~~
vision.cpp:26:33: error: 'add_and' was not declared in this scope
26 | bools.push_back(add_and({add_or(ones), split[j]}));
| ^~~~~~~
vision.cpp:29:16: error: 'add_or' was not declared in this scope
29 | l[i] = add_or(bools);
| ^~~~~~
vision.cpp:40:42: error: 'add_or' was not declared in this scope
40 | bools.push_back(add_and({add_or(ones), split[j - 1]}));
| ^~~~~~
vision.cpp:40:33: error: 'add_and' was not declared in this scope
40 | bools.push_back(add_and({add_or(ones), split[j - 1]}));
| ^~~~~~~
vision.cpp:43:16: error: 'add_or' was not declared in this scope
43 | r[i] = add_or(bools);
| ^~~~~~
vision.cpp:47:15: error: 'add_xor' was not declared in this scope
47 | diff[0] = add_xor(l[0], r[0]);
| ^~~~~~~
vision.cpp:48:17: error: 'add_and' was not declared in this scope
48 | int carry = add_and(l[0], r[0]);
| ^~~~~~~
vision.cpp:52:64: error: 'add_not' was not declared in this scope
52 | carry = add_or({add_and({l[i], r[i], carry}), add_and({add_not(r[i]), add_or({l[i], carry})})});
| ^~~~~~~
vision.cpp:52:79: error: 'add_or' was not declared in this scope
52 | carry = add_or({add_and({l[i], r[i], carry}), add_and({add_not(r[i]), add_or({l[i], carry})})});
| ^~~~~~
vision.cpp:52:17: error: 'add_or' was not declared in this scope
52 | carry = add_or({add_and({l[i], r[i], carry}), add_and({add_not(r[i]), add_or({l[i], carry})})});
| ^~~~~~
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:65:19: error: 'add_and' was not declared in this scope
65 | rows[i] = add_and(row);
| ^~~~~~~
vision.cpp:74:19: error: 'add_and' was not declared in this scope
74 | cols[i] = add_and(col);
| ^~~~~~~
vision.cpp:79:17: error: 'add_and' was not declared in this scope
79 | int carry = add_and(r[0], c[0]);
| ^~~~~~~
vision.cpp:80:14: error: 'add_xor' was not declared in this scope
80 | sum[0] = add_xor({r[0], c[0]});
| ^~~~~~~
vision.cpp:84:17: error: 'add_or' was not declared in this scope
84 | carry = add_or({add_and({r[i], c[i]}), add_and({r[i], carry}), add_and({c[i], carry})});
| ^~~~~~
vision.cpp:89:22: error: 'add_not' was not declared in this scope
89 | sum[i] = add_not(sum[i]);
| ^~~~~~~