Borderou de evaluare (job #835749)

Utilizator avatar Cezar2009 Titihazan Cezar Cezar2009 IP ascuns
Problemă Abc 1 (clasa a 9-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 13 oct. 2025 18:23:11 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int rezolvare(int, int)': main.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type] 40 | } | ^ main.cpp: In function 'int main()': main.cpp:54:32: error: 'mat1' was not declared in this scope 54 | fin >> mat1[i][j]; | ^~~~ main.cpp:66:33: error: 'mat2' was not declared in this scope 66 | mat2[j][n - i + 1] = mat1[i][j]; | ^~~~ main.cpp:66:54: error: 'mat1' was not declared in this scope 66 | mat2[j][n - i + 1] = mat1[i][j]; | ^~~~ main.cpp:74:33: error: 'mat1' was not declared in this scope 74 | mat1[i][j] = mat2[i][j]; | ^~~~ main.cpp:74:46: error: 'mat2' was not declared in this scope 74 | mat1[i][j] = mat2[i][j]; | ^~~~