Problem | oddqueries |
---|---|
User | CuriousFox |
Submission Time | 2025-05-07 15:37:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oddqueries.cpp: In function ‘int main()’:
oddqueries.cpp:21:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
21 | ans = sums - (prefix[r] - prefix[l-1]) + ((r-l+1)*k);
| ^~~
| abs