vision.cpp: In function 'int get(int, int, int)':
vision.cpp:13:16: error: 'add_or' was not declared in this scope
x1.push_back(add_or(x[i]));
^~~~~~
vision.cpp:13:16: note: suggested alternative: 'rand_r'
x1.push_back(add_or(x[i]));
^~~~~~
rand_r
vision.cpp:18:18: error: 'add_and' was not declared in this scope
res.push_back(add_and(x1[i], x2[i - K]));
^~~~~~~
vision.cpp:22:9: error: 'add_or' was not declared in this scope
return add_or(res);
^~~~~~
vision.cpp:22:9: note: suggested alternative: 'rand_r'
return add_or(res);
^~~~~~
rand_r
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:26:3: error: 'add_xor' was not declared in this scope
add_xor(get(H, W, K), get(H, W, K + 1));
^~~~~~~