Problem clipboard
User Pan
Submission Time 2024-01-16 18:59:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from clipboard.cpp:1:
clipboard.cpp: In function ‘int main()’:
clipboard.cpp:93:2: error: invalid static_cast from type ‘pi’ {aka ‘std::pair<long long int, long long int>’} to type ‘bool’
93 | assert(root->query(1,n)).f == 0) << endl;
| ^~~~~~