Borderou de evaluare (job #722666)

Utilizator avatar tony_melintescu@yahoo.com Mleintescu Tony tony_melintescu@yahoo.com IP ascuns
Problemă Matrix (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 iun. 2023 19:26:03 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void FH()': main.cpp:11:10: error: 'i' was not declared in this scope; did you mean 'in'? 11 | for (i=1; i<=n/2; i++) | ^ | in main.cpp:11:18: error: 'n' was not declared in this scope; did you mean 'in'? 11 | for (i=1; i<=n/2; i++) | ^ | in main.cpp:13:14: error: 'j' was not declared in this scope 13 | for (j=1; j<=m; j++) | ^ main.cpp:13:22: error: 'm' was not declared in this scope; did you mean 'tm'? 13 | for (j=1; j<=m; j++) | ^ | tm main.cpp:15:18: error: 'a' was not declared in this scope 15 | swap(a[i][j],a[n-i+1][j]); | ^ main.cpp: In function 'void FV()': main.cpp:22:10: error: 'i' was not declared in this scope; did you mean 'in'? 22 | for (i=1; i<=n; i++) | ^ | in main.cpp:22:18: error: 'n' was not declared in this scope; did you mean 'in'? 22 | for (i=1; i<=n; i++) | ^ | in main.cpp:24:14: error: 'j' was not declared in this scope 24 | for (j=1; j<=m/2; j++) | ^ main.cpp:24:22: error: 'm' was not declared in this scope; did you mean 'tm'? 24 | for (j=1; j<=m/2; j++) | ^ | tm main.cpp:26:18: error: 'a' was not declared in this scope 26 | swap(a[i][j],a[i][m-j+1]); | ^ main.cpp: In function 'void RH()': main.cpp:33:10: error: 'i' was not declared in this scope; did you mean 'in'? 33 | for (i=1; i<=n; i++) | ^ | in main.cpp:33:18: error: 'n' was not declared in this scope; did you mean 'in'? 33 | for (i=1; i<=n; i++) | ^ | in main.cpp:35:9: error: 'aux' was not declared in this scope 35 | aux=a[i][m]; | ^~~