Borderou de evaluare (job #1816422)

Utilizator Coroian_DavidCoroian David Coroian_David Data 26 noiembrie 2016 14:18:48
Problema Copaci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:57:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%d%d", &v[i].x, &v[i].y); ^ user.cpp:57:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:52:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ user.cpp:57:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &v[i].x, &v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOkay!10
20ms452kbOkay!10
30ms476kbOkay!10
40ms512kbOkay!10
54ms600kbOkay!10
68ms736kbOkay!10
712ms844kbOkay!10
840ms1340kbOkay!10
952ms1780kbWrong answer0
1068ms2016kbOkay!10
Punctaj total90

Ceva nu functioneaza?