Pagini recente » Borderou de evaluare (job #1189482) | Borderou de evaluare (job #1220872) | Borderou de evaluare (job #2860945) | Borderou de evaluare (job #1334851) | Borderou de evaluare (job #1428881)
Borderou de evaluare (job #1428881)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:14:7: warning: passing argument 1 of ‘fgets’ from incompatible pointer type [enabled by default]
fgets(s, 50, in);
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:245:1: note: expected ‘char * restrict’ but argument is of type ‘int *’
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
^
user.c:8:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &t);
^
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d ", &x);
^
user.c:14:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 50, in);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 264kb | OK | 100 |
Punctaj total | 100 |