Borderou de evaluare (job #764850)

Utilizator avatar RaresManolescu Rares Manolescu RaresManolescu IP ascuns
Problemă Magic1 (clasa a 5-a) Compilator c-32
Rundă Concurs 04 | IQ Academy | clasa a 5-a Status evaluat
Dată 25 feb. 2024 13:15:33 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:19: warning: passing argument 1 of 'fputc' makes integer from pointer without a cast [-Wint-conversion] 15 | fputc(fout, c); | ^~~~ | | | FILE * In file included from main.c:1: /usr/include/stdio.h:607:23: note: expected 'int' but argument is of type 'FILE *' 607 | extern int fputc (int __c, FILE *__stream); | ~~~~^~~ main.c:15:25: warning: passing argument 2 of 'fputc' makes pointer from integer without a cast [-Wint-conversion] 15 | fputc(fout, c); | ^ | | | char /usr/include/stdio.h:607:34: note: expected 'FILE *' but argument is of type 'char' 607 | extern int fputc (int __c, FILE *__stream); | ~~~~~~^~~~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d", &n); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 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