Borderou de evaluare (job #1208504)

Utilizator pavlov.ionPavlov Ion pavlov.ion Data 15 iulie 2014 22:08:24
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:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%f%f%f%f",&wf,&hf,&wp,&hp); ^ user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 5 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:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%f%f%f%f",&wf,&hf,&wp,&hp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbIncorect00
20ms300kbIncorect0
30ms300kbIncorect0
40ms300kbIncorect0
50ms300kbIncorect0
60ms304kbIncorect0
70ms304kbIncorect0
80ms300kbIncorect0
90ms304kbIncorect0
100ms304kbIncorect0
Punctaj total0

Ceva nu functioneaza?