Pagini recente » Borderou de evaluare (job #143555) | Borderou de evaluare (job #547208) | Borderou de evaluare (job #3214639) | Borderou de evaluare (job #425631) | Borderou de evaluare (job #2118209)
Borderou de evaluare (job #2118209)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:15:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 2 has type ‘size_t * {aka unsigned int *}’ [-Wformat=]
scanf("%lu %lu ", &n, &m);
^
user.c:15:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘size_t * {aka unsigned int *}’ [-Wformat=]
user.c:52:12: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat=]
printf("%lu\n", r);
^
user.c:12:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.in", "r", stdin);
^
user.c:13:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.out", "w", stdout);
^
user.c:15:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lu %lu ", &n, &m);
^
user.c:18:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, SIZE + 5, stdin);
^
In file included from /usr/include/stdio.h:936:0,
from user.c:1:
In function ‘fgets’,
inlined from ‘main’ at user.c:18:9:
/usr/include/bits/stdio2.h:261:9: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 752kb | OK | 5 |
| 2 | 0ms | 796kb | OK | 5 |
| 3 | 0ms | 876kb | OK | 5 |
| 4 | 0ms | 804kb | OK | 5 |
| 5 | 0ms | 868kb | OK | 5 |
| 6 | 0ms | 876kb | OK | 5 |
| 7 | 0ms | 756kb | OK | 5 |
| 8 | 0ms | 864kb | OK | 5 |
| 9 | 16ms | 816kb | Incorect | 0 |
| 10 | 24ms | 756kb | Incorect | 0 |
| 11 | 20ms | 752kb | Incorect | 0 |
| 12 | 28ms | 752kb | Incorect | 0 |
| 13 | 24ms | 880kb | Incorect | 0 |
| 14 | 24ms | 856kb | Incorect | 0 |
| 15 | 24ms | 872kb | Incorect | 0 |
| 16 | 28ms | 804kb | Incorect | 0 |
| 17 | 32ms | 880kb | Incorect | 0 |
| 18 | 32ms | 936kb | Incorect | 0 |
| 19 | 28ms | 880kb | Incorect | 0 |
| 20 | 28ms | 812kb | Incorect | 0 |
| Punctaj total | 40 |