wall.cpp: In member function 'void segment_tree::push(int, int, int)':
wall.cpp:15:25: error: no matching function for call to 'segment_tree::min(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
15 | mn[v << 1] = min(mn[v << 1], mx[v]);
| ~~~^~~~~~~~~~~~~~~~~~~
wall.cpp:26:10: note: candidate: 'void segment_tree::min(int, int, int, int, int, int)'
26 | void min(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:26:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:16:29: error: no matching function for call to 'segment_tree::min(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
16 | mn[v << 1 | 1] = min(mn[v << 1 | 1], mx[v]);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
wall.cpp:26:10: note: candidate: 'void segment_tree::min(int, int, int, int, int, int)'
26 | void min(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:26:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:17:25: error: no matching function for call to 'segment_tree::min(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
17 | mx[v << 1] = min(mx[v << 1], mx[v]);
| ~~~^~~~~~~~~~~~~~~~~~~
wall.cpp:26:10: note: candidate: 'void segment_tree::min(int, int, int, int, int, int)'
26 | void min(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:26:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:18:29: error: no matching function for call to 'segment_tree::min(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
18 | mx[v << 1 | 1] = min(mx[v << 1 | 1], mx[v]);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
wall.cpp:26:10: note: candidate: 'void segment_tree::min(int, int, int, int, int, int)'
26 | void min(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:26:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:19:25: error: no matching function for call to 'segment_tree::max(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
19 | mn[v << 1] = max(mn[v << 1], mn[v]);
| ~~~^~~~~~~~~~~~~~~~~~~
wall.cpp:36:10: note: candidate: 'void segment_tree::max(int, int, int, int, int, int)'
36 | void max(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:36:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:20:29: error: no matching function for call to 'segment_tree::max(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
20 | mn[v << 1 | 1] = max(mn[v << 1 | 1], mn[v]);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
wall.cpp:36:10: note: candidate: 'void segment_tree::max(int, int, int, int, int, int)'
36 | void max(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:36:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:21:25: error: no matching function for call to 'segment_tree::max(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
21 | mx[v << 1] = max(mx[v << 1], mn[v]);
| ~~~^~~~~~~~~~~~~~~~~~~
wall.cpp:36:10: note: candidate: 'void segment_tree::max(int, int, int, int, int, int)'
36 | void max(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:36:10: note: candidate expects 6 arguments, 2 provided
wall.cpp:22:29: error: no matching function for call to 'segment_tree::max(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)'
22 | mx[v << 1 | 1] = max(mx[v << 1 | 1], mn[v]);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
wall.cpp:36:10: note: candidate: 'void segment_tree::max(int, int, int, int, int, int)'
36 | void max(int l, int r, int x, int v = 1, int tl = 0, int tr = -1) {
| ^~~
wall.cpp:36:10: note: candidate expects 6 arguments, 2 provided