Borderou de evaluare (job #1588578)

Utilizator costyv87Vlad Costin costyv87 Data 3 februarie 2016 11:56:57
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:75:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&a[i][j]); ^ user.cpp:80:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.cpp:70:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:75:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i][j]); ^ user.cpp:78:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&m); ^ user.cpp:80:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms492kbKilled by signal 11(SIGSEGV).0
20ms292kbOKAY!10
30ms292kbOKAY!10
40ms304kbOKAY!10
50ms408kbKilled by signal 11(SIGSEGV).0
60ms372kbKilled by signal 11(SIGSEGV).0
70ms364kbKilled by signal 11(SIGSEGV).0
84ms340kbKilled by signal 11(SIGSEGV).0
920ms320kbOKAY!10
100ms280kbOKAY!10
Punctaj total50

Ceva nu functioneaza?