Borderou de evaluare (job #633499)

Utilizator avatar Razvan. Nerdvana 11 Dedu Răzvan Matei Razvan. IP ascuns
Problemă Album (clasa a 6-a) Compilator c-32
Rundă Tema 17 clasa a 6-a Status evaluat
Dată 18 feb. 2022 15:45:53 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 12 | fscanf(fin, "%d %d", &c, &n); | ~^ ~~ | | | | int * char * | %hhd main.c:22:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 22 | while(v[i]==-1 && i<n) | ^~~~~ main.c:24:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 24 | a=v[i]; | ^ main.c:66:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 66 | else | ^~~~ main.c:68:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 68 | ok=(ok+1)%2; | ^~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d %d", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Pomana - puncte din oficiu 10
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 21 ms 380 kb OK 5
6 1 ms 114 kb OK 5
7 37 ms 512 kb OK 5
8 339 ms 3260 kb OK 5
9 1 ms 114 kb OK 5
10 1 ms 114 kb OK 5
11 1 ms 114 kb OK 5
12 1 ms 114 kb OK 5
13 1 ms 114 kb OK 5
14 1 ms 114 kb OK 5
15 12 ms 118 kb OK 5
16 1083 ms 2998 kb OK 5
17 117 ms 503 kb OK 5
18 154 ms 507 kb OK 5
19 1151 ms 3391 kb OK 5
Punctaj total 100