Pagini recente » Borderou de evaluare (job #567738) | Borderou de evaluare (job #2045830) | Borderou de evaluare (job #462823) | Borderou de evaluare (job #1905230) | Borderou de evaluare (job #2117054)
Borderou de evaluare (job #2117054)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:15:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 2 has type ‘size_t *’ [-Wformat=]
scanf("%lu", &t);
^
user.c:62:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat=]
printf("%lu\n", i);
^
user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "r", stdin);
^
user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "w", stdout);
^
user.c:15:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lu", &t);
^
user.c:19:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(p, sizeof s, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
In function ‘fgets’,
inlined from ‘main’ at user.c:19:14:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | Depăşit | 340kb | Time limit exceeded. | 0 |
4 | Depăşit | 504kb | Time limit exceeded. | 0 |
5 | Depăşit | 348kb | Time limit exceeded. | 0 |
6 | Depăşit | 416kb | Time limit exceeded. | 0 |
7 | Depăşit | 856kb | Time limit exceeded. | 0 |
8 | Depăşit | 1180kb | Time limit exceeded. | 0 |
9 | Depăşit | 336kb | Time limit exceeded. | 0 |
10 | 4ms | 268kb | OK | 10 |
Punctaj total | 30 |