Borderou de evaluare (job #605473)

Utilizator avatar david_d David Alexandru Dimulescu david_d IP ascuns
Problemă Fotbal3 (clasa a 6-a) Compilator c-32
Rundă Concurs cursuri de performanță | IQ Academy | clasa a 6-a Status evaluat
Dată 5 sept. 2021 13:09:41 Scor 97

Raport evaluator

Compilare: main.c: In function 'main': main.c:54:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if(c=='P' || fp>0) | ^~ main.c:56:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 56 | if(c=='F') | ^~ main.c:15:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d%d%d", &fp, &mp, &ap, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:32:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin, "%d", &v[co]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:47:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | fscanf(fin, "%d", &v[co]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:76:7: warning: 'maxp' may be used uninitialized in this function [-Wmaybe-uninitialized] 76 | fprintf(fout, "P %d\n", v[maxp]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 5
2 1 ms 131 kb OK 5
3 1 ms 131 kb OK 5
4 2 ms 131 kb OK 5
5 2 ms 131 kb OK 5
6 1 ms 131 kb OK 5
7 1 ms 131 kb OK 5
8 1 ms 131 kb OK 5
9 1 ms 131 kb OK 5
10 1 ms 131 kb OK 5
11 1 ms 131 kb OK 5
12 1 ms 131 kb OK 5
13 2 ms 258 kb OK 5
14 1 ms 262 kb OK 5
15 1 ms 131 kb OK 5
16 1 ms 131 kb OK 5
17 1 ms 258 kb OK 5
18 1 ms 258 kb OK 5
19 1 ms 258 kb OK 5
20 7 ms 258 kb OK 5
Penalizare: 3% (pentru 1 submisie/ii) 3%
Punctaj total 97