Borderou de evaluare (job #1119585)

Utilizator manutrutaEmanuel Truta manutruta Data 24 februarie 2014 18:42:22
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d %d\n", &d[i], &c[i]); ^ user.cpp:55:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:11:13: warning: overflow in implicit constant conversion [-Woverflow] #define INF 0x3f3f3f3f ^ user.cpp:68:16: note: in expansion of macro ‘INF’ short mn = INF; ^ user.cpp:53:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d\n", &n, &p, &k); ^ user.cpp:55:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &d[i], &c[i]); ^ user.cpp:58:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms592kbOK10
20ms592kbIncorect0
388ms600kbIncorect0
4Depăşit592kbTime limit exceeded.0
58ms592kbIncorect0
60ms600kbOK10
74ms640kbOK10
80ms596kbOK10
968ms740kbOK10
10Depăşit752kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?