Borderou de evaluare (job #795372)

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 20:02:18 Scor 10

Raport evaluator

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