vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:22:24: error: 's_set' was not declared in this scope
22 | if(re.find(i)==s_set.end()){
| ^~~~~
vision.cpp:27:20: error: cannot convert 'std::vector<int>' to 'int'
27 | int a1=add_not(black);
| ^~~~~
| |
| std::vector<int>
In file included from vision.cpp:3:
vision.h:16:17: note: initializing argument 1 of 'int add_not(int)'
16 | int add_not(int N);
| ~~~~^
vision.cpp:36:12: error: 'inputs' was not declared in this scope; did you mean 'input'?
36 | if(inputs.empty()){
| ^~~~~~
| input
vision.cpp:39:28: error: 'other_in_s_inputs' was not declared in this scope
39 | otheror=add_or(other_in_s_inputs);
| ^~~~~~~~~~~~~~~~~
vision.cpp:42:21: error: redeclaration of 'std::vector<int> input'
42 | vector<int> input={0,j,a1,a2};
| ^~~~~
vision.cpp:30:21: note: 'std::vector<int> input' previously declared here
30 | vector<int> input;
| ^~~~~