del13.cpp: In function 'bool valid()':
del13.cpp:15:17: warning: statement has no effect [-Wunused-value]
15 | #define DE(...) 0
| ^
del13.cpp:20:2: note: in expansion of macro 'DE'
20 | DE(len, m);
| ^~
del13.cpp:15:17: warning: statement has no effect [-Wunused-value]
15 | #define DE(...) 0
| ^
del13.cpp:27:2: note: in expansion of macro 'DE'
27 | DE(len, m);
| ^~
del13.cpp:14:20: warning: statement has no effect [-Wunused-value]
14 | #define debug(...) 0
| ^
del13.cpp:28:2: note: in expansion of macro 'debug'
28 | debug(dis+1, dis+m+1);
| ^~~~~
del13.cpp:15:17: warning: statement has no effect [-Wunused-value]
15 | #define DE(...) 0
| ^
del13.cpp:52:3: note: in expansion of macro 'DE'
52 | DE(i, dp_min[i], dp_max[i]);
| ^~
del13.cpp:14:20: warning: statement has no effect [-Wunused-value]
14 | #define debug(...) 0
| ^
del13.cpp:63:2: note: in expansion of macro 'debug'
63 | debug(dis+1, dis+1+m);
| ^~~~~
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:70:10: error: 'cur_h' was not declared in this scope
70 | assert(cur_h >= dp_min[i] && cur_h <= dp_max[i]);
| ^~~~~
del13.cpp:15:17: warning: statement has no effect [-Wunused-value]
15 | #define DE(...) 0
| ^
del13.cpp:78:3: note: in expansion of macro 'DE'
78 | DE(i, dis[i], cut_back, cur_h, need_cut);
| ^~
del13.cpp:14:20: warning: statement has no effect [-Wunused-value]
14 | #define debug(...) 0
| ^
del13.cpp:100:2: note: in expansion of macro 'debug'
100 | debug(self.begin()+1, self.begin()+m+1);
| ^~~~~
del13.cpp:14:20: warning: statement has no effect [-Wunused-value]
14 | #define debug(...) 0
| ^
del13.cpp:102:2: note: in expansion of macro 'debug'
102 | debug(cnt.begin()+1, cnt.begin()+m+1);
| ^~~~~
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:122:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | assert(need == op.size());
| ~~~~~^~~~~~~~~~~~
del13.cpp:61:6: warning: unused variable 'tar_rm' [-Wunused-variable]
61 | int tar_rm = dis[m];
| ^~~~~~