Pagini recente » Borderou de evaluare (job #2114683) | Borderou de evaluare (job #2809803) | Borderou de evaluare (job #996025) | Borderou de evaluare (job #974255) | Borderou de evaluare (job #1315452)
Borderou de evaluare (job #1315452)
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:15:13: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fout, "Remiza");
^
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:37:17: 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:41:21: 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:43:21: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Incorect | 0 |
2 | 0ms | 232kb | OK | 10 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 0ms | 236kb | Incorect | 0 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 232kb | Incorect | 0 |
7 | 0ms | 232kb | Incorect | 0 |
8 | 0ms | 232kb | Incorect | 0 |
9 | 0ms | 236kb | Incorect | 0 |
10 | 0ms | 228kb | Incorect | 0 |
Punctaj total | 10 |