Problem | findinggrass |
---|---|
User | TheRaptor |
Submission Time | 2022-12-28 17:25:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findinggrass.cpp: In function ‘int32_t main()’:
findinggrass.cpp:177:58: error: no matching function for call to ‘node::range_sum(long long int&)’
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)));
| ^
findinggrass.cpp:70:8: note: candidate: ‘ll node::range_sum(long long int, long long int)’
70 | ll range_sum(int x, int y) {
| ^~~~~~~~~
findinggrass.cpp:70:8: note: candidate expects 2 arguments, 1 provided
findinggrass.cpp:177:144: error: no matching function for call to ‘node::range_sum(double)’
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)));
|