0_0_39594663_22860.cpp: In function 'void solve()':
0_0_39594663_22860.cpp:46:5: error: 'function' was not declared in this scope
46 | function<void(int,int,int,int,int,int)> update = [&](int u, int pl, int pr, int l, int r, int v){
| ^~~~~~~~
0_0_39594663_22860.cpp:6:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'?
5 | #include <iomanip>
+++ |+#include <functional>
6 | using namespace std;
0_0_39594663_22860.cpp:46:42: error: expression list treated as compound expression in functional cast [-fpermissive]
46 | function<void(int,int,int,int,int,int)> update = [&](int u, int pl, int pr, int l, int r, int v){
| ^
0_0_39594663_22860.cpp:46:14: error: expected primary-expression before 'void'
46 | function<void(int,int,int,int,int,int)> update = [&](int u, int pl, int pr, int l, int r, int v){
| ^~~~
0_0_39594663_22860.cpp:61:9: error: 'update' was not declared in this scope
61 | update(1, 0, tot-2, mps[y1], mps[y2]-1, Tag);
| ^~~~~~
|