Borderou de evaluare (job #766662)

Utilizator avatar TudorMit Mituca Tudor-Ionut TudorMit IP ascuns
Problemă Speciale (clasa a 5-a) Compilator c-32
Rundă Tema 28 Clasa a 5-a Status evaluat
Dată 6 mar. 2024 12:37:17 Scor 45

Raport evaluator

Compilare: main.c: In function 'main': main.c:82:17: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 82 | fprintf("%d",s); | ^~~~ | | | char * In file included from /usr/include/stdio.h:964, 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:82:22: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 82 | fprintf("%d",s); | ^ | | | 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%d%d%d%d",&c,&k,&n,&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:68:14: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 68 | s++; | ~^~ main.c:7:31: note: 's' was declared here 7 | int i,k,n,a,b,ka,kb,nrs=0,s,e=0,y=0,c,cif=0,cn,cifs,ccifs; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 5
2 1 ms 245 kb Incorect 0
3 1 ms 507 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb Incorect 0
6 1 ms 507 kb OK 5
7 1 ms 249 kb Incorect 0
8 1 ms 245 kb OK 5
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 249 kb Incorect 0
16 1 ms 249 kb Incorect 0
17 1 ms 270 kb Incorect 0
18 1 ms 245 kb OK 5
19 1 ms 245 kb OK 5
20 1 ms 249 kb Incorect 0
Punctaj total 45