vision.cpp: In function 'int solve(int, int, int)':
vision.cpp:18:25: error: 'H' was not declared in this scope
for(int i = 0; i <= H + W - 2; ++i){
^
vision.cpp:18:29: error: 'W' was not declared in this scope
for(int i = 0; i <= H + W - 2; ++i){
^
vision.cpp:19:30: error: 'add_or' was not declared in this scope
DiagLor.emplace_back(add_or(Dl[i]));
^~~~~~
vision.cpp:19:30: note: suggested alternative: 'rand_r'
DiagLor.emplace_back(add_or(Dl[i]));
^~~~~~
rand_r
vision.cpp:22:30: error: 'add_and' was not declared in this scope
ans.emplace_back(add_and({DiagLor[i] , DiagLor[i - K]}));
^~~~~~~
vision.cpp:26:12: error: 'add_or' was not declared in this scope
return add_or(ans);
^~~~~~
vision.cpp:26:12: note: suggested alternative: 'rand_r'
return add_or(ans);
^~~~~~
rand_r
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:33:9: error: 'add_xor' was not declared in this scope
add_xor({solve(H , W , K) , solve(H , W , K + 1)});
^~~~~~~