Pagini recente » Borderou de evaluare (job #2452322) | Borderou de evaluare (job #298340) | Borderou de evaluare (job #132987) | Borderou de evaluare (job #2608965) | Borderou de evaluare (job #1504087)
Borderou de evaluare (job #1504087)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘Ll* {aka long long int*}’ [-Wformat=]
For(i, 0, n) scanf("%d", &d[i]);
^
user.cpp:31:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘Ll {aka long long int}’ [-Wformat=]
printf("%d\n", bst[1][n]);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in", "r", stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out", "w", stdout);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
For(i, 0, n) scanf("%d", &d[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 368kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 4ms | 680kb | OK | 10 |
7 | 32ms | 1072kb | OK | 10 |
8 | 112ms | 1468kb | OK | 10 |
9 | 248ms | 1860kb | Incorect | 0 |
10 | 452ms | 2252kb | Incorect | 0 |
Punctaj total | 80 |