Problem matrixrotation
User AndyChen
Submission Time 2026-07-24 14:25:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

matrixrotation.cpp: In function ‘int main()’:
matrixrotation.cpp:19:17: error: expected ‘,’ or ‘;’ before ‘cout’
19 | cout << a[o];
| ^~~~
matrixrotation.cpp:36:5: error: ‘else’ without a previous ‘if’
36 | else if (t == 1){
| ^~~~
matrixrotation.cpp:51:17: error: expected ‘,’ or ‘;’ before ‘cout’
51 | cout << a[o];
| ^~~~