Problem platonic3
User Hatrix
Submission Time 2026-03-02 14:30:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic3.cpp: In function ‘int main()’:
platonic3.cpp:7:2: error: expected initializer before ‘cin’
7 | cin n;
| ^~~
platonic3.cpp:8:8: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | int a[n]
| ^
| yn
platonic3.cpp:9:2: error: expected initializer before ‘for’
9 | for(int i = 0; i < n; i++) {
| ^~~
platonic3.cpp:9:17: error: ‘i’ was not declared in this scope
9 | for(int i = 0; i < n; i++) {
| ^
platonic3.cpp:15:10: error: ‘b’ was not declared in this scope
15 | cout << b;
| ^