Borderou de evaluare (job #1414176)

Utilizator dariusdariusMarian Darius dariusdarius Data 2 aprilie 2015 13:42:59
Problema Ecu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:27: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf("%lf", &x[i]); ^ user.cpp:36:27: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf("%lf", &p[i]); ^ user.cpp:39:27: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf("%lf", &y[i]); ^ user.cpp:64:32: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%.6lf ", answer); ^ user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ecu.in", "r", stdin); ^ user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ecu.out", "w", stdout); ^ user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf", &x[i]); ^ user.cpp:36:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf", &p[i]); ^ user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf", &y[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms500kbOkay10
20ms628kbWrong answer!0
34ms624kbWrong answer!0
4Depăşit572kbTime limit exceeded.0
5Depăşit632kbTime limit exceeded.0
6Depăşit568kbTime limit exceeded.0
7Depăşit568kbTime limit exceeded.0
8Depăşit576kbTime limit exceeded.0
9Depăşit576kbTime limit exceeded.0
10Depăşit572kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?