peru.cpp: In function 'int solve(int, int, int*)':
peru.cpp:18:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for(int i=1;i<=n;i++)pw[i]=(pw[i-1]*23)%inf;v++;
| ^~~
peru.cpp:18:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
18 | for(int i=1;i<=n;i++)pw[i]=(pw[i-1]*23)%inf;v++;
| ^
peru.cpp:23:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
23 | while(!dq.empty()&&a[dq.back()]<a[i])dq.pop_back();dq.pb(i);
| ^~~~~
peru.cpp:23:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
23 | while(!dq.empty()&&a[dq.back()]<a[i])dq.pop_back();dq.pb(i);
| ^~
peru.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int j=1;j<dq.size();j++){
| ~^~~~~~~~~~