Borderou de evaluare (job #620651)

Utilizator avatar raduluca16 Luca Radu raduluca16 IP ascuns
Problemă Cifre comune (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 12 dec. 2021 14:39:38 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:36:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 36 | fprintf("%d",com); | ^~~~ | | | char * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:103:27: note: expected 'FILE * restrict' but argument is of type 'char *' 103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:36:18: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 36 | fprintf("%d",com); | ^~~ | | | int In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:103:60: note: expected 'const char * restrict' but argument is of type 'int' 103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d%d",&m,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~
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