Borderou de evaluare (job #1816412)

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

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:64: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:64:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:59: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:64: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
10ms452kbWrong answer0
20ms460kbOkay!10
30ms476kbWrong answer0
40ms516kbOkay!10
54ms596kbOkay!10
68ms740kbOkay!10
712ms848kbOkay!10
836ms1344kbOkay!10
952ms1780kbWrong answer0
1068ms2012kbOkay!10
Punctaj total70

Ceva nu functioneaza?