vision.cpp: In function 'int solve(int, int, int)':
vision.cpp:14:3: error: 'ans' was not declared in this scope
ans.push_back(add_ans({add_or(diagL[d]), add_or(prefL)}));
^~~
vision.cpp:14:3: note: suggested alternative: 'abs'
ans.push_back(add_ans({add_or(diagL[d]), add_or(prefL)}));
^~~
abs
vision.cpp:14:17: error: 'add_ans' was not declared in this scope
ans.push_back(add_ans({add_or(diagL[d]), add_or(prefL)}));
^~~~~~~
vision.cpp:14:17: note: suggested alternative: 'add_and'
ans.push_back(add_ans({add_or(diagL[d]), add_or(prefL)}));
^~~~~~~
add_and
vision.cpp:17:16: error: 'ans' was not declared in this scope
return add_or(ans);
^~~
vision.cpp:17:16: note: suggested alternative: 'abs'
return add_or(ans);
^~~
abs