Pagini recente » Borderou de evaluare (job #520048) | Borderou de evaluare (job #2019538) | Cod sursa (job #2923410) | Cod sursa (job #400127) | Borderou de evaluare (job #1796610)
Borderou de evaluare (job #1796610)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9: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:10: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:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &v[i]);
^
user.cpp:29:30: warning: ‘dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %hd\n", dr - k + 1, dr, ans);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 4ms | 308kb | OK | 10 |
3 | 20ms | 408kb | OK | 10 |
4 | 20ms | 420kb | OK | 10 |
5 | 28ms | 472kb | OK | 10 |
6 | 36ms | 512kb | OK | 10 |
7 | 60ms | 668kb | OK | 10 |
8 | 96ms | 860kb | OK | 10 |
9 | Depăşit | 972kb | Time limit exceeded. | 0 |
10 | Depăşit | 920kb | Time limit exceeded. | 0 |
Punctaj total | 80 |