Borderou de evaluare (job #1211951)

Utilizator BLz0rDospra Cristian BLz0r Data 23 iulie 2014 15:56:46
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:58:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf (f,"%d",&v[i][j]); ^ user.cpp:63:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf (f,"%d",&w[i]); ^ user.cpp:54:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&n); ^ user.cpp:58:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&v[i][j]); ^ user.cpp:61:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&k); ^ user.cpp:63:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&w[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms324kbOKAY!10
20ms472kbRaspuns gresit!0
30ms456kbRaspuns gresit!0
40ms464kbRaspuns gresit!0
50ms444kbKilled by signal 11(SIGSEGV).0
60ms444kbKilled by signal 11(SIGSEGV).0
70ms444kbKilled by signal 11(SIGSEGV).0
80ms440kbKilled by signal 11(SIGSEGV).0
90ms444kbKilled by signal 11(SIGSEGV).0
100ms272kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?