Borderou de evaluare (job #1678270)

Utilizator Coroian_DavidCoroian David Coroian_David Data 7 aprilie 2016 10:17:22
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d%d%d%d", &p.l, &p.c, &rez.l, &rez.c); ^ user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &m); ^ user.cpp:28:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &l, &col); ^ user.cpp:31:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d%d", &p.l, &p.c, &rez.l, &rez.c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbIncorect0
20ms452kbIncorect0
30ms468kbIncorect0
40ms456kbIncorect0
50ms468kbIncorect0
60ms560kbIncorect0
74ms560kbIncorect0
80ms580kbKilled by signal 11(SIGSEGV).0
90ms504kbIncorect0
100ms472kbIncorect0
Punctaj total0

Ceva nu functioneaza?