doll.cpp: In function 'void solve(int, std::vector<int>&)':
doll.cpp:23:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(i=0; i<V.size(); i++)
| ~^~~~~~~~~
doll.cpp:14:12: warning: unused variable 'j' [-Wunused-variable]
14 | int i, j;
| ^
doll.cpp: In function 'void create_circuit(int, std::vector<int>)':
doll.cpp:41:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
41 | while(__builtin_popcount(N)>1) N++; K=A.size();
| ^~~~~
doll.cpp:41:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
41 | while(__builtin_popcount(N)>1) N++; K=A.size();
| ^
doll.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
42 | for(i=1; i<N-K; i++) A.push_back(-1); A.push_back(0);
| ^~~
doll.cpp:42:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
42 | for(i=1; i<N-K; i++) A.push_back(-1); A.push_back(0);
| ^
doll.cpp:36:12: warning: unused variable 'j' [-Wunused-variable]
36 | int i, j;
| ^