Pagini recente » Borderou de evaluare (job #2282045) | Borderou de evaluare (job #289698) | Borderou de evaluare (job #560047) | Borderou de evaluare (job #3203034) | Borderou de evaluare (job #1434311)
Borderou de evaluare (job #1434311)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:46: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=]
for(i = 0; i < n; ++i) scanf("%lf", x + i);
^
user.cpp:28:24: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=]
scanf("%lf", &p); //p == p[i]
^
user.cpp:37:46: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=]
for(i = 0; i < n; ++i) scanf("%lf", y + i);
^
user.cpp:61:29: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=]
printf("%.3lf ", val);
^
user.cpp:16: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:17: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:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m); N = 2 * n;
^
user.cpp:24:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%lf", x + i);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf", &p); //p == p[i]
^
user.cpp:37:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%lf", y + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | Okay | 10 |
2 | 0ms | 336kb | Wrong answer! | 0 |
3 | Depăşit | 320kb | Time limit exceeded. | 0 |
4 | Depăşit | 392kb | Time limit exceeded. | 0 |
5 | Depăşit | 384kb | Time limit exceeded. | 0 |
6 | Depăşit | 388kb | Time limit exceeded. | 0 |
7 | Depăşit | 392kb | Time limit exceeded. | 0 |
8 | Depăşit | 392kb | Time limit exceeded. | 0 |
9 | Depăşit | 396kb | Time limit exceeded. | 0 |
10 | Depăşit | 392kb | Time limit exceeded. | 0 |
Punctaj total | 10 |