vision.cpp: In function 'int ans()':
vision.cpp:6:9: error: 'add_or' was not declared in this scope
return add_or(V);
^~~~~~
vision.cpp:6:9: note: suggested alternative: 'rand_r'
return add_or(V);
^~~~~~
rand_r
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:27:7: error: 'add_or' was not declared in this scope
cur=add_or(Dr[i]);
^~~~~~
vision.cpp:27:7: note: suggested alternative: 'rand_r'
cur=add_or(Dr[i]);
^~~~~~
rand_r
vision.cpp:33:6: error: 'add_and' was not declared in this scope
a=add_and(diag[i+k],cur);
^~~~~~~
vision.cpp:38:5: error: 'add_and' was not declared in this scope
b=add_and(diag[i+k+1],cur);
^~~~~~~
vision.cpp:40:15: error: 'add_xor' was not declared in this scope
V.push_back(add_xor(b,a));
^~~~~~~
vision.cpp:49:7: error: 'add_or' was not declared in this scope
cur=add_or(Dl[i]);
^~~~~~
vision.cpp:49:7: note: suggested alternative: 'rand_r'
cur=add_or(Dl[i]);
^~~~~~
rand_r
vision.cpp:55:6: error: 'add_and' was not declared in this scope
a=add_and(d[i-k],cur);
^~~~~~~
vision.cpp:60:5: error: 'add_and' was not declared in this scope
b=add_and(d[i-k-1],cur);
^~~~~~~
vision.cpp:62:15: error: 'add_xor' was not declared in this scope
V.push_back(add_xor(b,a));
^~~~~~~