cipele.cpp: In function 'bool chk(int)':
cipele.cpp:8:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for(int i=0;i<l.size();i++){
| ~^~~~~~~~~
cipele.cpp:11:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if(cur>=r.size())break;
| ~~~^~~~~~~~~~
cipele.cpp:13:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(cur>=r.size())break;
| ~~~^~~~~~~~~~
cipele.cpp:16:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(cur>=r.size())break;
| ~~~^~~~~~~~~~
cipele.cpp:18:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | if(co==l.size())return true;
| ~~^~~~~~~~~~
cipele.cpp: In function 'int main()':
cipele.cpp:22:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d %d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~
cipele.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%d",&x);
| ~~~~~^~~~~~~~~
cipele.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | scanf("%d",&x);
| ~~~~~^~~~~~~~~