Borderou de evaluare (job #753680)

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

Raport evaluator

Compilare: main.c: In function 'main': main.c:34:11: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 34 | fprintf("%d",cnt); | ^~~~ | | | 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:34:16: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 34 | fprintf("%d",cnt); | ^~~ | | | 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:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 109 ms 249 kb Time limit exceeded 0
2 109 ms 249 kb Time limit exceeded 0
3 109 ms 249 kb Time limit exceeded 0
4 109 ms 249 kb Time limit exceeded 0
5 109 ms 249 kb Time limit exceeded 0
6 109 ms 249 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 249 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 0