peru.cpp: In function 'int solve(int, int, int*)':
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++){
| ~^~~~~~~~~~
/usr/bin/ld: /tmp/cchAZFE0.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccU73ESZ.o:peru.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status