Borderou de evaluare (job #3148927)

Utilizator deliaandreeaddelia andreea deliaandreead Data 5 septembrie 2023 10:21:59
Problema Geamuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:1: error: expected ',' or ';' before 'int' 8 | int mat[1025][1025]; | ^~~ main.cpp: In function 'int main()': main.cpp:17:9: error: 'mat' was not declared in this scope 17 | mat[i1][j1]+=1; | ^~~ main.cpp:27:13: error: 'mat' was not declared in this scope 27 | mat[i][j]=mat[i-1][j]+mat[i][j-1]-mat[i-1][j-1]+mat[i][j]; | ^~~ main.cpp:32:15: error: 'mat' was not declared in this scope 32 | v[mat[i][j]]++; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?