Borderou de evaluare (job #2008021)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 august 2017 22:48:35
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:18: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:18:36: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:24: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:24:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:24:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 5 has type ‘long double*’ [-Wformat=] user.cpp:24:53: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 6 has type ‘long double*’ [-Wformat=] user.cpp:16: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:18: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:24: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
10ms448kbOK10
28ms456kbIncorect0
38ms464kbIncorect0
48ms460kbIncorect0
512ms460kbIncorect0
6500ms1188kbIncorect0
71152ms1196kbIncorect0
81332ms1292kbIncorect0
9644ms828kbIncorect0
10Depăşit1300kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?