| Problem | fenwicktree_easy |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-09-20 22:03:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fenwicktree_easy.cpp: In function ‘int32_t main()’:
fenwicktree_easy.cpp:27:30: error: too few arguments to function ‘long long int query(long long int, long long int)’
27 | if (t == 0) cout << query(y) - query(x - 1) << "\n";
| ^
fenwicktree_easy.cpp:7:5: note: declared here
7 | int query (int p, int v) {
| ^~~~~
fenwicktree_easy.cpp:27:45: error: too few arguments to function ‘long long int query(long long int, long long int)’
27 | if (t == 0) cout << query(y) - query(x - 1) << "\n";
| ^
fenwicktree_easy.cpp:7:5: note: declared here
7 | int query (int p, int v) {
| ^~~~~