del13.cpp: In function 'bool valid()':
del13.cpp:14:17: warning: statement has no effect [-Wunused-value]
14 | #define DE(...) 0
| ^
del13.cpp:19:2: note: in expansion of macro 'DE'
19 | DE(len, m);
| ^~
del13.cpp:14:17: warning: statement has no effect [-Wunused-value]
14 | #define DE(...) 0
| ^
del13.cpp:26:2: note: in expansion of macro 'DE'
26 | DE(len, m);
| ^~
del13.cpp:13:20: warning: statement has no effect [-Wunused-value]
13 | #define debug(...) 0
| ^
del13.cpp:27:2: note: in expansion of macro 'debug'
27 | debug(dis+1, dis+m+1);
| ^~~~~
del13.cpp:14:17: warning: statement has no effect [-Wunused-value]
14 | #define DE(...) 0
| ^
del13.cpp:51:3: note: in expansion of macro 'DE'
51 | DE(i, dp_min[i], dp_max[i]);
| ^~
del13.cpp:65:7: warning: unused variable 'u' [-Wunused-variable]
65 | int u = dp_max[i-1], d = dp_min[i-1], h = dis[i];
| ^
del13.cpp:65:24: warning: unused variable 'd' [-Wunused-variable]
65 | int u = dp_max[i-1], d = dp_min[i-1], h = dis[i];
| ^
del13.cpp:65:41: warning: unused variable 'h' [-Wunused-variable]
65 | int u = dp_max[i-1], d = dp_min[i-1], h = dis[i];
| ^
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from del13.cpp:1:
del13.cpp:85:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | assert(need == op.size());
| ~~~~~^~~~~~~~~~~~
del13.cpp:60:17: warning: unused variable 'nxt_h' [-Wunused-variable]
60 | int tar_h = 0, nxt_h, cur_h = dis[m] ;
| ^~~~~