Borderou de evaluare (job #1347694)

Utilizator AndreiIstetulAndrei Andrei AndreiIstetul Data 19 februarie 2015 09:21:23
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf (f, "%d", &mat[i][j]); ^ user.cpp:38:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%d%d%d", &n, &m, &h);//f >> n >> m >> h; ^ user.cpp:42:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%d", &mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
20ms620kbOK10
3192ms11536kbKilled by signal 11(SIGSEGV).0
48ms760kbOK10
540ms1448kbOK10
6192ms9716kbOK10
7212ms4308kbOK10
860ms6716kbOK10
9180ms4088kbOK10
10184ms10728kbKilled by signal 11(SIGSEGV).0
Punctaj total80

Ceva nu functioneaza?