Borderou de evaluare (job #1362618)

Utilizator PhilipDumitruPhilip Dumitru PhilipDumitru Data 26 februarie 2015 14:03:07
Problema Geometry Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d %d %d %d", &lines[i].A.x, &lines[i].A.y, &lines[i].B.x, &lines[i].B.y); ^ user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=] user.cpp:93:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:97:95: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d %d %d", &lines[i].A.x, &lines[i].A.y, &lines[i].B.x, &lines[i].B.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK1050
20ms272kbOK10
30ms272kbOK10
40ms272kbOK10
50ms268kbOK10
60ms276kbOK1010
728ms280kbOK1010
828ms284kbOK1010
932ms280kbOK1010
1028ms280kbOK1010
Punctaj total100

Ceva nu functioneaza?