Pagini recente » Borderou de evaluare (job #2490071) | Borderou de evaluare (job #786312) | Borderou de evaluare (job #1527714) | Borderou de evaluare (job #2908034) | Borderou de evaluare (job #1315470)
Borderou de evaluare (job #1315470)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:7:8: warning: assignment from incompatible pointer type [enabled by default]
fin=fopen("mere.in","r");
^
user.c:8:9: warning: assignment from incompatible pointer type [enabled by default]
fout=fopen("mere.out","w");
^
user.c:9:5: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf(fin, "%d", &t);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘int *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:12:9: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf(fin, "%d%d", &n, &k);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘int *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:25:13: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fout, "Santa Klaus\n");
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * restrict’ but argument is of type ‘int *’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:29:17: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fout, "Mickey Mouse\n");
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * restrict’ but argument is of type ‘int *’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:31:17: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fout, "Remiza\n");
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * restrict’ but argument is of type ‘int *’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 228kb | OK | 10 |
2 | 0ms | 232kb | OK | 10 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 0ms | 232kb | Incorect | 0 |
5 | 0ms | 228kb | Incorect | 0 |
6 | 0ms | 228kb | Incorect | 0 |
7 | 0ms | 224kb | Incorect | 0 |
8 | 0ms | 232kb | Incorect | 0 |
9 | 0ms | 228kb | Incorect | 0 |
10 | 0ms | 232kb | Incorect | 0 |
Punctaj total | 20 |