0_0_39461986_28791.cpp: In function 'int main()':
0_0_39461986_28791.cpp:84:67: error: cannot convert 'std::pair<int, int>' to 'int'
84 | if (a[i].le <= a[i].re) insert(1, 1, n, a[i].le, a[i].re, pair<int, int>{a[i].x, a[i].y});
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::pair<int, int>
0_0_39461986_28791.cpp:24:54: note: initializing argument 6 of 'void insert(int, int, int, int, int, int, int)'
24 | void insert(int now, int l, int r, int x, int y, int u,int v) {
| ~~~~^
|