Problem rangerangequery
User wongyikai
Submission Time 2024-12-07 16:49:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rangerangequery.cpp: In function ‘int main()’:
rangerangequery.cpp:120:64: error: expected primary-expression before ‘.’ token
120 | cout << root->range_max(l,r)-root->range_min(l,r)+1 << "\n";./temp2
| ^
rangerangequery.cpp:120:65: error: expected unqualified-id before ‘/’ token
120 | cout << root->range_max(l,r)-root->range_min(l,r)+1 << "\n";./temp2
| ^
rangerangequery.cpp:120:66: error: ‘temp2’ was not declared in this scope
120 | cout << root->range_max(l,r)-root->range_min(l,r)+1 << "\n";./temp2
| ^~~~~