Borderou de evaluare (job #2007966)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 august 2017 18:51:52
Problema NN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:36: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] fscanf(fi,"%lf %lf " ,&x,&y); ^ user.cpp:16:36: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:22:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] fscanf(fi,"%lf %lf %lf %lf" ,&x1,&y1,&x2,&y2); ^ user.cpp:22:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:22:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 5 has type ‘long double*’ [-Wformat=] user.cpp:22:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 6 has type ‘long double*’ [-Wformat=] user.cpp:14:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&m); ^ user.cpp:16:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lf %lf " ,&x,&y); ^ user.cpp:22:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lf %lf %lf %lf" ,&x1,&y1,&x2,&y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
28ms448kbIncorect0
38ms460kbIncorect0
48ms460kbIncorect0
512ms460kbIncorect0
6492ms1192kbIncorect0
71128ms1196kbIncorect0
81312ms1292kbIncorect0
9628ms832kbIncorect0
10Depăşit1296kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?