Borderou de evaluare (job #3144649)

Utilizator catalinmarincatalinmarin catalinmarin Data 9 august 2023 16:15:53
Problema Labirint2 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:60:15: error: cannot convert 'int (*)[1002]' to 'int (*)[1001]' 60 | lee(1, 1, mat_lee_1); | ^~~~~~~~~ | | | int (*)[1002] main.cpp:19:50: note: initializing argument 3 of 'void lee(short int, short int, int (*)[1001])' 19 | void lee(short starting_x, short starting_y, int mat[][1001]){ | ~~~~^~~~~~~~~~~ main.cpp:61:15: error: cannot convert 'int (*)[1002]' to 'int (*)[1001]' 61 | lee(n, m, mat_lee_2); | ^~~~~~~~~ | | | int (*)[1002] main.cpp:19:50: note: initializing argument 3 of 'void lee(short int, short int, int (*)[1001])' 19 | void lee(short starting_x, short starting_y, int mat[][1001]){ | ~~~~^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?