doll.cpp: In function 'std::vector<int> dc(std::vector<int>)':
doll.cpp:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int j = 0;j+sz<lol.size();j++){
| ~~~~^~~~~~~~~~~
doll.cpp: At global scope:
doll.cpp:24:13: error: ambiguating new declaration of 'std::vector<int> create_circuit(int, std::vector<int>)'
24 | vector<int> create_circuit(int M, vector<int> A){
| ^~~~~~~~~~~~~~
In file included from doll.cpp:2:
doll.h:5:6: note: old declaration 'void create_circuit(int, std::vector<int>)'
5 | void create_circuit(int M, std::vector<int> A);
| ^~~~~~~~~~~~~~
doll.cpp: In function 'std::vector<int> create_circuit(int, std::vector<int>)':
doll.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
37 | }
| ^