Borderou de evaluare (job #647289)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Noxa (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 apr. 2022 18:58:56 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:40:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 40 | printf("parc %d\n",dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:61:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 61 | printf("%d jos/stanga1 parc %d\n",pc[ci1]-cc,dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:70:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 70 | printf("%d jos/stanga2 parc %d\n",pc[ci2]-cc,dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:78:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 78 | printf("jos/stanga %d\n",dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:84:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 84 | printf("jos/stana %d\n",dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:93:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 93 | printf("jos/stan %d\n",dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:99:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 99 | printf("jos/stanga %d\n",dist); | ~^ ~~~~ | | | | int long long int | %lld main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d%d",&m,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 2 ms 114 kb Incorect 0
10 2 ms 114 kb Incorect 0
11 7 ms 114 kb Incorect 0
12 1 ms 118 kb Incorect 0
13 1 ms 118 kb Incorect 0
14 12 ms 114 kb Incorect 0
15 19 ms 114 kb Incorect 0
16 28 ms 245 kb Incorect 0
17 22 ms 245 kb Incorect 0
18 25 ms 249 kb Incorect 0
19 38 ms 241 kb Incorect 0
20 37 ms 245 kb Incorect 0
Punctaj total 10