| Problem | platonic13 |
|---|---|
| User | IyasM |
| Submission Time | 2025-12-08 11:50:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic13.cpp: In function ‘int main()’:
platonic13.cpp:4:13: error: expected initializer before ‘long’
4 | #define int long long
| ^~~~
platonic13.cpp:11:5: note: in expansion of macro ‘int’
11 | int ans = d * 2;
| ^~~
platonic13.cpp:13:3: error: ‘b’ was not declared in this scope
13 | b[i] = abs(a[i] - a[i+1]);
| ^
platonic13.cpp:15:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
15 | ans += b[i];
| ^~~
| abs
platonic13.cpp:17:8: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
17 | else ans += d*2;
| ^~~
| abs
platonic13.cpp:20:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
20 | cout << ans;
| ^~~
| abs