Problem platonic3
User jcoder12345
Submission Time 2025-06-19 10:42:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic3.cpp: In function ‘int main()’:
platonic3.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
platonic3.cpp:5:5: error: ‘queue’ was not declared in this scope
5 | queue<int> q;
| ^~~~~
platonic3.cpp:5:11: error: expected primary-expression before ‘int’
5 | queue<int> q;
| ^~~
platonic3.cpp:6:10: error: ‘i’ was not declared in this scope
6 | for (i=1 ; i < N-1; i++){
| ^
platonic3.cpp:8:13: error: ‘q’ was not declared in this scope
8 | q.pop();
| ^
platonic3.cpp:11:13: error: ‘cout’ was not declared in this scope
11 | cout << arr[i];
| ^~~~