vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:19:28: error: 'class std::vector<int>' has no member named 'pb'
pz.pb({P * W + z});
^~
vision.cpp:19:32: error: 'P' was not declared in this scope
pz.pb({P * W + z});
^
vision.cpp:30:27: error: could not convert '((i * W) + j)' from 'int' to 'std::vector<int>'
add_and(i * W + j);
~~~~~~^~~
vision.cpp:39:60: error: could not convert 'qu1[i][j]' from 'int' to 'std::vector<int>'
p.push_back(query_number), add_and(qu1[i][j], qu2[i][j]), ++query_number;
~~~~~~~~^
vision.cpp:34:9: warning: unused variable 'lst' [-Wunused-variable]
int lst = query_number;
^~~