Borderou de evaluare (job #697589)

Utilizator avatar Coman_Diana Coman Diana Coman_Diana IP ascuns
Problemă Vecine (clasa a 6-a) Compilator c-32
Rundă Tema 19 clasa a 6-a Status evaluat
Dată 20 feb. 2023 11:14:19 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:30:24: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 30 | fscanf( fin, "%d", &v[index] ); | ~^ ~~~~~~~~~ | | | | | char * | int * | %hhd main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf( fin, "%d%d", &cerinta, &numar_cifre ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf( fin, "%d", &cf_anterior ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf( fin, "%d", &cf ); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:30:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf( fin, "%d", &v[index] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 2
2 1 ms 114 kb OK 2
3 1 ms 114 kb OK 2
4 1 ms 114 kb OK 2
5 1 ms 114 kb OK 2
6 1 ms 118 kb OK 2
7 2 ms 118 kb OK 2
8 15 ms 118 kb OK 2
9 31 ms 118 kb OK 2
10 46 ms 118 kb OK 2
11 1 ms 114 kb OK 3
12 1 ms 114 kb OK 3
13 1 ms 114 kb OK 3
14 1 ms 114 kb OK 3
15 1 ms 114 kb OK 5
16 1 ms 118 kb OK 5
17 1 ms 118 kb OK 5
18 1 ms 118 kb OK 5
19 7 ms 118 kb OK 5
20 14 ms 114 kb OK 5
21 17 ms 118 kb OK 5
22 20 ms 118 kb OK 5
23 25 ms 118 kb OK 5
24 31 ms 245 kb OK 5
25 39 ms 245 kb OK 5
26 19 ms 118 kb OK 5
27 1 ms 114 kb OK 3
28 1 ms 114 kb OK 5
Punctaj total 100