Main.cc: In function ‘ll read()’: Main.cc:17:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(ch=='-')t=-1;ch=getchar(); ^~ Main.cc:17:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if(ch=='-')t=-1;ch=getchar(); ^~ Main.cc: In function ‘void slv()’: Main.cc:80:22: error: no matching function for call to ‘shuffle(node*, node*)’ shuffle(d+1,d+m+1); ^ In file included from /usr/include/c++/7/algorithm:62:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65, from Main.cc:1: /usr/include/c++/7/bits/stl_algo.h:3792:5: note: candidate: template void std::shuffle(_RAIter, _RAIter, _UGenerator&&) shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, ^~~~~~~ /usr/include/c++/7/bits/stl_algo.h:3792:5: note: template argument deduction/substitution failed: Main.cc:80:22: note: candidate expects 3 arguments, 2 provided shuffle(d+1,d+m+1); ^ Main.cc:95:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",res); ^ Main.cc:82:9: warning: unused variable ‘tim’ [-Wunused-variable] int tim=0; ^~~