drvca.cpp: In function 'void check(long long int, long long int)':
drvca.cpp:29:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 0;i<v.size()-1;i++)cout<<v[i]<<' ';
| ~^~~~~~~~~~~
drvca.cpp:35:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
35 | for(auto &i:v)cout<<i<<' ';cout<<'\n';
| ^~~
drvca.cpp:35:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
35 | for(auto &i:v)cout<<i<<' ';cout<<'\n';
| ^~~~
drvca.cpp:37:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
37 | for(auto &i:tmp)cout<<i<<' ';cout<<'\n';
| ^~~
drvca.cpp:37:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
37 | for(auto &i:tmp)cout<<i<<' ';cout<<'\n';
| ^~~~
drvca.cpp:41:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i = 1;i<tmp.size();i++){
| ~^~~~~~~~~~~
drvca.cpp:45:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
45 | for(auto &i:v)cout<<i<<' ';cout<<'\n';
| ^~~
drvca.cpp:45:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
45 | for(auto &i:v)cout<<i<<' ';cout<<'\n';
| ^~~~
drvca.cpp:47:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
47 | for(auto &i:tmp)cout<<i<<' ';cout<<'\n';
| ^~~
drvca.cpp:47:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
47 | for(auto &i:tmp)cout<<i<<' ';cout<<'\n';
| ^~~~
drvca.cpp: At global scope:
drvca.cpp:51:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
51 | main(){
| ^~~~