| Problem | differencearray |
|---|---|
| User | LYTX |
| Submission Time | 2026-05-16 10:53:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
differencearray.cpp: In function ‘int32_t main()’:
differencearray.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
differencearray.cpp:7:2: note: in expansion of macro ‘int’
7 | int a[n+2],d[n+2];
| ^~~
differencearray.cpp:7:6: error: ‘a’ was not declared in this scope
7 | int a[n+2],d[n+2];
| ^
differencearray.cpp:7:8: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | int a[n+2],d[n+2];
| ^
| yn
differencearray.cpp:7:13: error: ‘d’ was not declared in this scope
7 | int a[n+2],d[n+2];
| ^
differencearray.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
differencearray.cpp:9:9: note: in expansion of macro ‘int’
9 | for(int i=1;i<=n;i++){
|