Problem fenwicktree
User justin271828
Submission Time 2024-12-04 11:57:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:31:19: error: ISO C++ forbids using pointer to a function in subtraction [-fpermissive]
31 | cout << (qry[y]-qry[x]);
| ~~~~~~^~~~~~~