Borderou de evaluare (job #606343)

Utilizator avatar radu.timeea Radu Timeea radu.timeea IP ascuns
Problemă Fotbal3 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 15 sept. 2021 15:41:38 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:56:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 56 | if(x == 'P') | ^~ main.c:58:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 58 | indice++; | ^~~~~~ main.c:13:12: warning: variable 'sflin' set but not used [-Wunused-but-set-variable] 13 | char x,sflin,r; | ^~~~~ main.c:12:24: warning: unused variable 'p' [-Wunused-variable] 12 | int c ,f ,m ,a ,n ,p, v,nrF=0,nrP=0,nrM=0,nrA=0,i,indice=0,vmax = 0,s,catep = 0,catem = 0,catef = 0,catea = 0; | ^ main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin ,"%d", &c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin,"%d%d%d%d",&f,&m,&a,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin,"%d",&v); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 5
2 1 ms 262 kb OK 5
3 1 ms 258 kb OK 5
4 1 ms 262 kb OK 5
5 1 ms 258 kb OK 5
6 1 ms 131 kb OK 5
7 1 ms 262 kb OK 5
8 1 ms 262 kb OK 5
9 1 ms 262 kb OK 5
10 1 ms 258 kb OK 5
11 1 ms 262 kb OK 5
12 1 ms 258 kb OK 5
13 1 ms 258 kb OK 5
14 1 ms 258 kb OK 5
15 1 ms 262 kb OK 5
16 1 ms 262 kb OK 5
17 1 ms 262 kb OK 5
18 1 ms 262 kb OK 5
19 1 ms 258 kb OK 5
20 1 ms 258 kb OK 5
Punctaj total 100