Borderou de evaluare (job #1208492)

Utilizator pavlov.ionPavlov Ion pavlov.ion Data 15 iulie 2014 21:24:39
Problema ScaleCrop Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%Lf%Lf%Lf%Lf",&wf,&hf,&wp,&hp); ^ user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 5 has type ‘double*’ [-Wformat=] user.cpp:12:26: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘double’ [-Wformat=] printf("%.3Lf %.3Lf",w,h); ^ user.cpp:12:26: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 3 has type ‘double’ [-Wformat=] user.cpp:5:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scalecrop.in","r",stdin); ^ user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scalecrop.out","w",stdout); ^ user.cpp:8:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%Lf%Lf%Lf%Lf",&wf,&hf,&wp,&hp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbIncorect00
20ms304kbIncorect0
30ms308kbIncorect0
40ms304kbIncorect0
50ms304kbIncorect0
60ms308kbIncorect0
70ms300kbIncorect0
80ms304kbIncorect0
90ms300kbIncorect0
100ms300kbIncorect0
Punctaj total0

Ceva nu functioneaza?