Borderou de evaluare (job #753664)

Utilizator avatar TudorMit Mituca Tudor-Ionut TudorMit IP ascuns
Problemă Plus (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 ian. 2024 15:11:23 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:30:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 30 | fprintf("%d\n%d",cif,rr); | ^~~~~~~~ | | | char * In file included from /usr/include/stdio.h:906, from main.c:1: /usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:30:22: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 30 | fprintf("%d\n%d",cif,rr); | ^~~ | | | int /usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
2 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
3 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
4 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
5 2 ms 118 kb 1) linie incorecta; 2) linie incorecta; 0
6 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
7 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
8 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
9 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
10 1 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
Punctaj total 0