doll.cpp: In function 'int create_switch(std::vector<int>&, std::vector<int>&, std::vector<int>)':
doll.cpp:14:9: warning: unused variable 'noOut' [-Wunused-variable]
14 | int noOut = runOutcomes.size();
| ^~~~~
doll.cpp: In function 'void create_circuit(int, std::vector<int>)':
doll.cpp:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int i = 0; i < A.size(); i++) {
| ~~^~~~~~~~~~
doll.cpp:35:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int i = 0; i < occurances.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~
doll.cpp:44:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int i = 0; i < A.size(); i++) {
| ~~^~~~~~~~~~
doll.cpp:42:9: warning: unused variable 'last' [-Wunused-variable]
42 | int last = 0;
| ^~~~