Borderou de evaluare (job #1976054)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 2 mai 2017 17:51:12
Problema Taie Status done
Runda george4kb Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:64: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] fscanf(f,"%lf%lf%lf%lf",&A[i].x,&A[i].y,&B[i].x,&B[i].y); ^ user.cpp:36:64: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:36:64: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 5 has type ‘long double*’ [-Wformat=] user.cpp:36:64: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 6 has type ‘long double*’ [-Wformat=] user.cpp:55:61: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=] else fprintf(g,"%.10f %.10f %.10f %.10f",a.x,a.y,b.x,b.y); ^ user.cpp:55:61: warning: format ‘%f’ expects argument of type ‘double’, but argument 4 has type ‘long double’ [-Wformat=] user.cpp:55:61: warning: format ‘%f’ expects argument of type ‘double’, but argument 5 has type ‘long double’ [-Wformat=] user.cpp:55:61: warning: format ‘%f’ expects argument of type ‘double’, but argument 6 has type ‘long double’ [-Wformat=] user.cpp:33:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.cpp:36:65: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lf%lf%lf%lf",&A[i].x,&A[i].y,&B[i].x,&B[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms376kbRaspuns gresit00
20ms372kbRaspuns gresit00
30ms372kbRaspuns gresit00
40ms368kbRaspuns gresit00
58ms368kbRaspuns gresit00
64ms372kbRaspuns gresit0
78ms376kbRaspuns gresit00
88ms372kbRaspuns gresit0
98ms376kbRaspuns gresit00
108ms376kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?