Problem fenwicktree
User cobnet
Submission Time 2024-02-27 21:50:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:42:19: error: ‘y’ was not declared in this scope
42 | d = (prefixSum[y] - prefixSum[x - 1] + mod) % mod;
| ^