Borderou de evaluare (job #790943)

Utilizator avatar MARIARADU Radu Maria Sofia MARIARADU IP ascuns
Problemă La școală (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 23 oct. 2024 14:31:48 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:25:11: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 25 | fprintf("%d ",k); | ^~~~~ | | | char * In file included from /usr/include/stdio.h:980, from main.c:2: /usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:25:17: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 25 | fprintf("%d ",k); | ^ | | | int /usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:30:11: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 30 | fprintf("%d ", nrp); | ^~~~~ | | | char * /usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:30:18: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 30 | fprintf("%d ", nrp); | ^~~ | | | int /usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:35:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 35 | fprintf("%d\n", i); | ^~~~~~ | | | char * /usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:35:21: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 35 | fprintf("%d\n", i); | ^ | | | int /usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb Incorect 0
2 1 ms 266 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0