Borderou de evaluare (job #1834234)

Utilizator Coroian_DavidCoroian David Coroian_David Data 24 decembrie 2016 08:32:56
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d%d", &pozs.l, &pozs.c); ^ user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:36:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d%d", &pozf.l, &pozf.c); ^ user.cpp:36:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:43:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &a[i][j]); ^ user.cpp:34: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:35:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &pozs.l, &pozs.c); ^ user.cpp:36:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &pozf.l, &pozf.c); ^ user.cpp:43:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbIncorect0
20ms380kbIncorect0
30ms656kbOK10
44ms992kbIncorect0
54ms924kbIncorect0
624ms2412kbOK10
7324ms12072kbKilled by signal 11(SIGSEGV).0
8Depăşit12076kbTime limit exceeded.0
9Depăşit10488kbTime limit exceeded.0
10Depăşit10536kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?