Problem findinggrass
User TheRaptor
Submission Time 2022-12-28 17:24:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

findinggrass.cpp: In function ‘int32_t main()’:
findinggrass.cpp:177:36: error: ‘root2’ was not declared in this scope; did you mean ‘root’?
177 | long long hehe=sum-check*n-(check*root2->range_sum(check)-root->range_sum(-1e9,check))-(root->range_sum(check,1e9)-check*(root2->range_sum(1e9)-root2->range_sum(check-1)));
| ^~~~~
| root