Problem platonic9
User ayreentazz
Submission Time 2026-04-18 09:43:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic9.cpp: In function ‘int main()’:
platonic9.cpp:8:19: error: expected primary-expression before ‘,’ token
8 | for(int i=0; i<n;,i++){
| ^
platonic9.cpp:12:22: error: expected ‘;’ before ‘)’ token
12 | for(int j=0;j<n,j++){
| ^
| ;
platonic9.cpp:13:16: error: ‘a’ cannot be used as a function
13 | b[j]=a(n-j-1);
| ^
platonic9.cpp:15:22: error: expected ‘;’ before ‘)’ token
15 | for(int j=0;j<n,j++){
| ^
| ;
platonic9.cpp:20:21: error: expected ‘;’ before ‘)’ token
20 | for(int i=0;i<n,i++){
| ^
| ;
platonic9.cpp:23:1: error: expected ‘}’ at end of input
23 | }
| ^
platonic9.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^