Borderou de evaluare (job #1211938)

Utilizator BLz0rDospra Cristian BLz0r Data 23 iulie 2014 15:40:54
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
10ms320kbOKAY!10
20ms332kbRaspuns gresit!0
30ms336kbRaspuns gresit!0
40ms352kbRaspuns gresit!0
50ms320kbKilled by signal 11(SIGSEGV).0
60ms328kbKilled by signal 11(SIGSEGV).0
70ms328kbKilled by signal 11(SIGSEGV).0
80ms324kbKilled by signal 11(SIGSEGV).0
90ms320kbKilled by signal 11(SIGSEGV).0
100ms268kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?