Borderou de evaluare (job #2954779)

Utilizator iLaurianLaurian Iacob iLaurian Data 15 decembrie 2022 12:12:01
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:68:9: error: cannot convert 'int (*)[102]' to 'int (*)[101]' 68 | lee(matj,begr,begj); | ^~~~ | | | int (*)[102] main.cpp:21:14: note: initializing argument 1 of 'void lee(int (*)[101], Pos, Pos)' 21 | void lee(int mat[101][101], Pos begr, Pos begj) { | ~~~~^~~~~~~~~~~~~ main.cpp:69:9: error: cannot convert 'int (*)[102]' to 'int (*)[101]' 69 | lee(matr,begj,begr); | ^~~~ | | | int (*)[102] main.cpp:21:14: note: initializing argument 1 of 'void lee(int (*)[101], Pos, Pos)' 21 | void lee(int mat[101][101], Pos begr, Pos begj) { | ~~~~^~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?