Borderou de evaluare (job #2166297)

Utilizator PinkiePie1189Preoteasa Mircea-Costin PinkiePie1189 Data 13 martie 2018 16:31:30
Problema Ninjago Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:22:30: error: ‘mat’ was not declared in this scope fscanf(fin,"%d",&mat[i][j]); ^ user.cpp: In function ‘bool precalc(int)’: user.cpp:43:18: error: ‘mat’ was not declared in this scope d[!c][i]=mat[N][i]; ^ user.cpp:52:25: error: ‘mat’ was not declared in this scope d[c][j]=mat[i][j]+d[!c][j]; ^ user.cpp:64:25: error: ‘mat’ was not declared in this scope d[c][j]=mat[i][j]+d[!c][j+1]; ^ user.cpp:76:25: error: ‘mat’ was not declared in this scope d[c][j]=mat[i][j]+d[!c][j]; ^ user.cpp: In function ‘int main()’: user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&v); ^ user.cpp:17:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d",&N,&st,&dr); ^

Ceva nu functioneaza?