| Problem | differencearray |
|---|---|
| User | om2024 |
| Submission Time | 2026-02-20 19:19:38 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
differencearray.cpp: In function ‘int main()’:
differencearray.cpp:20:3: error: ‘diff’ was not declared in this scope
20 | diff[l] += v;
| ^~~~
differencearray.cpp:26:14: error: ‘diff’ was not declared in this scope
26 | current += diff[i];
| ^~~~
differencearray.cpp: At global scope:
differencearray.cpp:30:2: error: expected unqualified-id before ‘return’
30 | return 0;
| ^~~~~~
differencearray.cpp:31:1: error: expected declaration before ‘}’ token
31 | }
| ^