combo.cpp: In function 'void Out(std::vector<int>)':
combo.cpp:11:33: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define REP(i,a,b) for(ll i=a; i<b; i++)
......
20 | void Out(vector<ll> x) {REP(i,0,x.size()) {cout<<x[i]<<" ";} cout<<endl;}
| ~~~~~~~~~~~~
combo.cpp:20:25: note: in expansion of macro 'REP'
20 | void Out(vector<ll> x) {REP(i,0,x.size()) {cout<<x[i]<<" ";} cout<<endl;}
| ^~~
combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:45:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
45 | while(p.size()<=N-2)
| ~~~~~~~~^~~~~
combo.cpp:49:17: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | if(coins==p.size()) {p+=c[2];}
| ~~~~~^~~~~~~~~~
combo.cpp:50:22: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | else if(coins==p.size()+1) {p+=c[1];}
| ~~~~~^~~~~~~~~~~~
combo.cpp:51:22: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | else if(coins==p.size()+2) {p+=c[0];}
| ~~~~~^~~~~~~~~~~~