Borderou de evaluare (job #2018170)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 3 septembrie 2017 18:27:04
Problema Geometry Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:77: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=] fscanf(IN,"%d%d%d%d",&Line[i].x1,&Line[i].y1,&Line[i].x2,&Line[i].y2); ^ user.cpp:53:77: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:53:77: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘double*’ [-Wformat=] user.cpp:53:77: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘double*’ [-Wformat=] user.cpp:50:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d",&N); ^ user.cpp:53:78: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d%d%d%d",&Line[i].x1,&Line[i].y1,&Line[i].x2,&Line[i].y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms440kbOK100
20ms440kbIncorect0
30ms444kbIncorect0
40ms448kbIncorect0
54ms444kbIncorect0
64ms444kbIncorect00
7104ms452kbIncorect00
8104ms452kbIncorect00
9104ms452kbIncorect00
10104ms448kbIncorect00
Punctaj total0

Ceva nu functioneaza?