doll.cpp: In function 'void create_circuit(int, std::vector<int>)':
doll.cpp:32:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int j=0;j<out[i].size();j+=2){
| ~^~~~~~~~~~~~~~
doll.cpp:44:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
44 | printf("%d %d %d\n",s,l.size(),r.size());
| ~^ ~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
doll.cpp:44:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
44 | printf("%d %d %d\n",s,l.size(),r.size());
| ~^ ~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
doll.cpp:47:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int j=0;j<l.size()-1;++j){
| ~^~~~~~~~~~~
doll.cpp:62:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int j=0;j<r.size()-1;++j){
| ~^~~~~~~~~~~