Borderou de evaluare (job #603627)

Utilizator avatar daria_diaconu Diaconu Daria daria_diaconu IP ascuns
Problemă Abc 1 (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 aug. 2021 11:11:23 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:11: warning: passing argument 1 of 'scanf' from incompatible pointer type [-Wincompatible-pointer-types] 9 | scanf(fin,"%d%d%d",&a,&b,&c); | ^~~ | | | FILE * In file included from main.c:1: /usr/include/stdio.h:397:42: note: expected 'const char * restrict' but argument is of type 'FILE *' 397 | extern int scanf (const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:11:16: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 11 | printf(fout,"0"); | ^~~~ | | | 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:16: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 13 | printf(fout,"5"); | ^~~~ | | | 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:16: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 15 | printf(fout,"6"); | ^~~~ | | | 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:17:16: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 17 | printf(fout,"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, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Killed by Signal 11 0
2 2 ms 262 kb Killed by Signal 11 0
3 1 ms 131 kb Killed by Signal 11 0
4 1 ms 131 kb Killed by Signal 11 0
5 1 ms 131 kb Killed by Signal 11 0
6 1 ms 131 kb Killed by Signal 11 0
7 1 ms 131 kb Killed by Signal 11 0
8 1 ms 131 kb Killed by Signal 11 0
9 1 ms 131 kb Killed by Signal 11 0
10 1 ms 131 kb Killed by Signal 11 0
Punctaj total 0