Borderou de evaluare (job #1752159)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 2 septembrie 2016 21:09:29
Problema Noroc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:25: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=] fscanf(f,"%Lf %Lf",&x,&m); ^ user.cpp:7:25: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:9:20: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 3 has type ‘double’ [-Wformat=] fprintf(g,"%.7Lf",p); ^ user.cpp:7:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%Lf %Lf",&x,&m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbIncorect0
20ms332kbIncorect0
30ms324kbIncorect0
40ms328kbOK10
50ms324kbOK10
60ms328kbIncorect0
70ms328kbIncorect0
80ms324kbIncorect0
90ms328kbIncorect0
100ms328kbIncorect0
Punctaj total20

Ceva nu functioneaza?