Borderou de evaluare (job #1437340)

Utilizator stropitoare98stropitoare stropitoare98 Data 17 mai 2015 15:00:59
Problema Operatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin,"%hd%hd",&sum,&n); ^ user.cpp:16:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:16:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%hd%hd",&sum,&n); ^ user.cpp:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%hd",&mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbKilled by signal 11(SIGSEGV).00
20ms188kbKilled by signal 11(SIGSEGV).00
30ms188kbKilled by signal 11(SIGSEGV).00
40ms188kbKilled by signal 11(SIGSEGV).00
50ms184kbKilled by signal 11(SIGSEGV).00
60ms184kbKilled by signal 11(SIGSEGV).0
70ms184kbKilled by signal 11(SIGSEGV).00
80ms188kbKilled by signal 11(SIGSEGV).0
90ms188kbKilled by signal 11(SIGSEGV).00
100ms188kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?