Problem llis
User YH
Submission Time 2026-02-28 16:10:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

llis.cpp: In function ‘std::pair<int, int> query(int, int, int, const int&, const int&)’:
llis.cpp:43:61: error: expected ‘)’ before ‘l’
43 | if ((tl+tr)>>1 >= r) return query((node<<1), tl, (tl+tr)>>1 l, r);
| ~ ^~
| )
llis.cpp:43:66: error: too few arguments to function ‘std::pair<int, int> query(int, int, int, const int&, const int&)’
43 | if ((tl+tr)>>1 >= r) return query((node<<1), tl, (tl+tr)>>1 l, r);
| ^
llis.cpp:37:15: note: declared here
37 | pair<int,int> query(const int node, const int tl, const int tr, const int &l, const int &r) {
| ^~~~~