Borderou de evaluare (job #607032)

Utilizator avatar mexeea Medeea Mincu mexeea IP ascuns
Problemă Fotbal3 (clasa a 6-a) Compilator c-32
Rundă Tema 2 clasa a 6-a Status evaluat
Dată 21 sept. 2021 22:04:07 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:24: warning: comparison between pointer and integer 20 | if(r!='\n' && r!=" ") | ^~ main.c:20:24: warning: comparison with string literal results in unspecified behavior [-Waddress] main.c:64:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 64 | else if(c==3 && cntp==0 || cntf<f || cntm<m || cnta<a) | ~~~~~^~~~~~~~~~ main.c:8:65: warning: unused variable 'save' [-Wunused-variable] 8 | int c, f, m, a, n, v, i, cntp, cntf, cntm, cnta, max, maxp, save; | ^~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d ", &c); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d%d", &f, &m, &a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &v); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 5
2 1 ms 258 kb OK 5
3 1 ms 262 kb OK 5
4 1 ms 258 kb OK 5
5 1 ms 262 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 258 kb OK 5
13 1 ms 258 kb OK 5
14 1 ms 262 kb OK 5
15 1 ms 262 kb OK 5
16 1 ms 262 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 1 ms 258 kb OK 5
Punctaj total 100