Pagini recente » Borderou de evaluare (job #2769763) | Borderou de evaluare (job #2295653) | Borderou de evaluare (job #62960) | Borderou de evaluare (job #876599) | Borderou de evaluare (job #1468655)
Borderou de evaluare (job #1468655)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:38:27: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n", d-k+1, d+1, rez);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 4ms | 292kb | OK | 10 |
3 | 16ms | 396kb | OK | 10 |
4 | 20ms | 412kb | OK | 10 |
5 | 28ms | 460kb | OK | 10 |
6 | 32ms | 504kb | OK | 10 |
7 | 56ms | 652kb | OK | 10 |
8 | 80ms | 856kb | Incorect | 0 |
9 | Depăşit | 1048kb | Time limit exceeded. | 0 |
10 | Depăşit | 1080kb | Time limit exceeded. | 0 |
Punctaj total | 70 |