Borderou de evaluare (job #680662)

Utilizator avatar RaduIacob09 Radu Iacob RaduIacob09 IP ascuns
Problemă Analiza (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 9 dec. 2022 10:26:55 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:35:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 35 | printf("%d %d %d\n",v[i],max2,max); | ~^ ~~~~ | | | | int long long int | %lld main.c:35:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 35 | printf("%d %d %d\n",v[i],max2,max); | ~^ ~~~ | | | | int long long int | %lld main.c:10:41: warning: unused variable 'ap' [-Wunused-variable] 10 | long long int c,n,nr,p,max=0,max2=0,ap,i=0; | ^~ main.c:10:26: warning: unused variable 'p' [-Wunused-variable] 10 | long long int c,n,nr,p,max=0,max2=0,ap,i=0; | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%lld%lld",&c,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%lld",&nr); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Incorect 0
2 1 ms 118 kb Incorect 0
3 1 ms 118 kb Incorect 0
4 1 ms 118 kb Incorect 0
5 1 ms 118 kb Incorect 0
6 1 ms 118 kb Incorect 0
7 1 ms 118 kb Incorect 0
8 1 ms 118 kb Incorect 0
9 1 ms 118 kb Incorect 0
10 1 ms 118 kb Incorect 0
11 19 ms 114 kb OK 5
12 16 ms 118 kb OK 5
13 14 ms 118 kb OK 5
14 21 ms 114 kb OK 5
15 16 ms 245 kb OK 5
16 24 ms 512 kb OK 5
17 32 ms 507 kb OK 5
18 48 ms 507 kb OK 5
19 67 ms 1298 kb OK 5
20 86 ms 2867 kb OK 5
Punctaj total 50