Borderou de evaluare (job #795391)

Utilizator avatar solezarino Robert Giurea solezarino IP ascuns
Problemă Furnica1 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 nov. 2024 21:40:22 Scor 94

Raport evaluator

Compilare: main.c: In function 'main': main.c:65:16: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 65 | printf("%d\n",cnt); | ~^ ~~~ | | | | int long long int | %lld main.c:72:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 72 | printf("%d %d %d\n",a,b,cnt); | ~^ ~ | | | | int long long int | %lld main.c:72:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 72 | printf("%d %d %d\n",a,b,cnt); | ~^ ~ | | | | int long long int | %lld main.c:72:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 72 | printf("%d %d %d\n",a,b,cnt); | ~^ ~~~ | | | | int long long int | %lld main.c:7:36: warning: variable 'vv' set but not used [-Wunused-but-set-variable] 7 | long long cnt,ta=0,va,vb,a,b,m=0,vv; | ^~ main.c:10:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf( fin, "%d%d ", &c,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%lld%lld",&va,&vb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%lld%lld",&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:34:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin,"%lld%lld",&va,&vb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:37:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf(fin,"%lld%lld",&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:61:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fscanf(fin,"%d%lld%lld",&t,&va,&vb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:71:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fscanf(fin,"%lld%lld",&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:8: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana de la comisie 10
2 1 ms 245 kb OK 3
3 1 ms 245 kb OK 3
4 1 ms 245 kb OK 3
5 1 ms 245 kb OK 3
6 4 ms 245 kb OK 3
7 1 ms 507 kb OK 3
8 1 ms 245 kb OK 3
9 9 ms 245 kb OK 3
10 9 ms 249 kb OK 3
11 10 ms 249 kb OK 3
12 4 ms 245 kb OK 3
13 2 ms 245 kb OK 3
14 1 ms 245 kb OK 3
15 2 ms 245 kb OK 3
16 2 ms 245 kb OK 3
17 2 ms 245 kb OK 3
18 1 ms 245 kb OK 3
19 1 ms 249 kb OK 3
20 9 ms 245 kb OK 3
21 9 ms 249 kb OK 2
22 1 ms 245 kb OK 2
23 1 ms 245 kb OK 1
24 1 ms 245 kb OK 1
25 1 ms 245 kb OK 1
26 1 ms 245 kb OK 1
27 2 ms 245 kb OK 1
28 1 ms 245 kb OK 1
29 1 ms 245 kb OK 1
30 2 ms 507 kb OK 1
31 2 ms 245 kb OK 1
32 1 ms 245 kb Incorect 0
33 1 ms 245 kb Incorect 0
34 1 ms 245 kb OK 2
35 1 ms 245 kb Incorect 0
36 1 ms 245 kb OK 2
37 2 ms 245 kb OK 2
38 1 ms 245 kb OK 2
39 1 ms 245 kb OK 2
40 1 ms 245 kb OK 2
41 1 ms 245 kb OK 2
Punctaj total 94