Problem platonic30
User AndyChen
Submission Time 2026-11-11 15:56:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic30.cpp: In function ‘int main()’:
platonic30.cpp:12:13: error: ‘a’ was not declared in this scope
12 | a[i] = a[i-1];
| ^
platonic30.cpp:15:13: error: ‘a’ was not declared in this scope
15 | a[i] = a[i-2] + a[i/2];
| ^
platonic30.cpp:18:13: error: ‘a’ was not declared in this scope
18 | cout << a[n];
| ^