vision.cpp: In function 'void num(int, int)':
vision.cpp:5:14: error: 'W' was not declared in this scope
5 | return i*W+j;
| ^
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:11:5: error: 'row' was not declared in this scope; did you mean 'pow'?
11 | row=H;
| ^~~
| pow
vision.cpp:12:5: error: 'column' was not declared in this scope
12 | column=W;
| ^~~~~~
vision.cpp:20:56: error: invalid use of void expression
20 | if(dis(i,j,k,l)==K) s.push_back(num(k,l));
| ~~~^~~~~
vision.cpp:33:18: error: expected ';' before '<' token
33 | for(int i=0,i<H*W){
| ^
| ;
vision.cpp:33:18: error: expected primary-expression before '<' token
vision.cpp:33:22: error: expected ';' before ')' token
33 | for(int i=0,i<H*W){
| ^
| ;
vision.cpp:13:9: warning: unused variable 'Total' [-Wunused-variable]
13 | int Total=max(H,W);
| ^~~~~