Borderou de evaluare (job #746263)

Utilizator avatar seby-the-kydo Nerdvana 8 Georgescu Sebastian seby-the-kydo IP ascuns
Problemă Invcuv (clasa a 7-a) Compilator c-32
Rundă Tema 9 clasa a 7-a Status evaluat
Dată 19 nov. 2023 22:52:22 Scor 100

Raport evaluator

Compilare: main.c: In function 'afis': main.c:8:16: warning: passing argument 1 of 'fgetc' from incompatible pointer type [-Wincompatible-pointer-types] 8 | afis(fgetc(fin),fin,fout); | ^~~ | | | int * In file included from main.c:1: /usr/include/stdio.h:513:25: note: expected 'FILE *' but argument is of type 'int *' 513 | extern int fgetc (FILE *__stream); | ~~~~~~^~~~~~~~ main.c:9:14: warning: passing argument 2 of 'fputc' from incompatible pointer type [-Wincompatible-pointer-types] 9 | fputc(ch,fout); | ^~~~ | | | int * /usr/include/stdio.h:549:34: note: expected 'FILE *' but argument is of type 'int *' 549 | extern int fputc (int __c, FILE *__stream); | ~~~~~~^~~~~~~~ main.c: In function 'cit': main.c:17:17: warning: passing argument 1 of 'fgetc' from incompatible pointer type [-Wincompatible-pointer-types] 17 | afis( fgetc(fin) ,fin ,fout); | ^~~ | | | int * /usr/include/stdio.h:513:25: note: expected 'FILE *' but argument is of type 'int *' 513 | extern int fgetc (FILE *__stream); | ~~~~~~^~~~~~~~ main.c:18:17: warning: passing argument 2 of 'fputc' from incompatible pointer type [-Wincompatible-pointer-types] 18 | fputc(cuv , fout); | ^~~~ | | | int * /usr/include/stdio.h:549:34: note: expected 'FILE *' but argument is of type 'int *' 549 | extern int fputc (int __c, FILE *__stream); | ~~~~~~^~~~~~~~ main.c: In function 'main': main.c:28:7: warning: passing argument 1 of 'cit' from incompatible pointer type [-Wincompatible-pointer-types] 28 | cit(fin,fout); | ^~~ | | | FILE * main.c:15:15: note: expected 'int *' but argument is of type 'FILE *' 15 | void cit(int *fin ,int *fout){ | ~~~~~^~~ main.c:28:11: warning: passing argument 2 of 'cit' from incompatible pointer type [-Wincompatible-pointer-types] 28 | cit(fin,fout); | ^~~~ | | | FILE * main.c:15:25: note: expected 'int *' but argument is of type 'FILE *'
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 108 ms 344 kb OK 10
5 1 ms 208 kb OK 10
6 1 ms 208 kb OK 10
7 19 ms 352 kb OK 10
8 39 ms 147 kb OK 10
9 69 ms 319 kb OK 10
10 96 ms 339 kb OK 10
Punctaj total 100