vision.cpp: In function 'int check(int, int)':
vision.cpp:17:22: error: 'add_and' was not declared in this scope
te.push_back(add_and({parr[rot][i],sarr[rot][i+dist]}));
^~~~~~~
vision.cpp:21:16: error: 'add_xor' was not declared in this scope
return add_xor(te);
^~~~~~~
vision.cpp:23:12: error: 'add_or' was not declared in this scope
return add_or(te);
^~~~~~
vision.cpp:23:12: note: suggested alternative: 'rand_r'
return add_or(te);
^~~~~~
rand_r
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:34:32: error: 'add_or' was not declared in this scope
arr[rot].push_back(add_or(te));
^~~~~~
vision.cpp:34:32: note: suggested alternative: 'rand_r'
arr[rot].push_back(add_or(te));
^~~~~~
rand_r
vision.cpp:41:29: error: 'add_or' was not declared in this scope
parr[rot].push_back(add_or({arr[rot][0]}));
^~~~~~
vision.cpp:41:29: note: suggested alternative: 'rand_r'
parr[rot].push_back(add_or({arr[rot][0]}));
^~~~~~
rand_r
vision.cpp:52:13: error: 'add_or' was not declared in this scope
int bad=add_or({teans[0][0],teans[1][0]}),good=add_or({teans[0][1],teans[1][1]});
^~~~~~
vision.cpp:52:13: note: suggested alternative: 'rand_r'
int bad=add_or({teans[0][0],teans[1][0]}),good=add_or({teans[0][1],teans[1][1]});
^~~~~~
rand_r
vision.cpp:53:18: error: 'good' was not declared in this scope
add_xor({bad,good});
^~~~
vision.cpp:53:18: note: suggested alternative: 'fmod'
add_xor({bad,good});
^~~~
fmod
vision.cpp:53:5: error: 'add_xor' was not declared in this scope
add_xor({bad,good});
^~~~~~~