doll.cpp: In function 'void build(std::vector<int>)':
doll.cpp:20:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = 0; i < cur.size(); i+=2) {
| ~~^~~~~~~~~~~~
doll.cpp:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i = 1; i < cur.size(); i+=2) {
| ~~^~~~~~~~~~~~
doll.cpp: In function 'void create_circuit(int, std::vector<int>)':
doll.cpp:43:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int i = 0; i < A.size(); i++) {
| ~~^~~~~~~~~~
doll.cpp:35:7: warning: unused variable 'N' [-Wunused-variable]
35 | int N = A.size();
| ^