Borderou de evaluare (job #613775)

Utilizator avatar someone heh ma someone IP ascuns
Problemă Nenepatrat (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 nov. 2021 14:12:55 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:30: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 11 | if(n==1999999874) printf(fout,"%d",1); | ^~~~ | | | FILE * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:110:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 110 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:12:34: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 12 | else if(n==400000028) printf(fout,"%d",2); | ^~~~ | | | FILE * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:110:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 110 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:13:29: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 13 | else if(n==4200) printf(fout,"%d",110); | ^~~~ | | | FILE * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:110:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 110 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:14:34: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 14 | else if(n==123456789) printf(fout,"%d",11); | ^~~~ | | | FILE * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:110:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 110 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:15:29: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 15 | else if(n==9999) printf(fout,"%d",11); | ^~~~ | | | FILE * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:110:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 110 | printf (const char *__restrict __fmt, ...)
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
Punctaj total 0