Borderou de evaluare (job #624150)

Utilizator avatar amalia_ghica Amalia Ghica amalia_ghica IP ascuns
Problemă Fotbal3 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 ian. 2022 16:24:35 Scor 75

Raport evaluator

Compilare: main.c: In function 'main': main.c:55:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 55 | while(ff[val] == 0) | ^~~~~ main.c:57:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 57 | fprintf(fout, "F %d\n" ,val); | ^~~~~~~ main.c:68:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 68 | while(fm[val] == 0) | ^~~~~ main.c:70:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 70 | fprintf(fout, "M %d\n" ,val); | ^~~~~~~ main.c:81:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 81 | while(fa[val] == 0) | ^~~~~ main.c:83:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 83 | fprintf(fout, "A %d\n" ,val); | ^~~~~~~ main.c:9:21: warning: unused variable 'x' [-Wunused-variable] 9 | int f, m, a, c, x, portar = 0, fundasi = 0, mijlocasi = 0, atacanti = 0, n, i, val, mval = 0; | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d ", &c); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d %d %d\n", &f, &m, &a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d\n", &n); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%c %d\n" , &l, &val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 241 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 249 kb OK 5
6 1 ms 114 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 1 ms 114 kb OK 5
12 1 ms 241 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 249 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 1 ms 245 kb OK 5
18 1 ms 249 kb OK 5
19 1 ms 249 kb OK 5
20 1 ms 249 kb OK 5
Punctaj total 75