Borderou de evaluare (job #601825)

Utilizator avatar Razvan_Dedu Dedu Razvan Matei Razvan_Dedu IP ascuns
Problemă Cadouri Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 12 iul. 2021 22:51:45 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 13 | if(numar/100==2) | ^~ main.c:15:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 15 | n--; | ^ main.c:21:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 21 | if(numar/10%10==k) | ^~ main.c:23:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 23 | n--; | ^ main.c:18:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 18 | else | ^~~~ main.c:25:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 25 | fclose(fin); | ^~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d%d", &cerinta, &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d", &numar); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &numar); | ^~~~~~~~~~~~~~~~~~~~~~~~~
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 1 ms 131 kb OK 5
5 1 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 1 ms 131 kb OK 5
14 1 ms 131 kb OK 5
15 1 ms 131 kb OK 5
16 1 ms 131 kb OK 5
17 1 ms 131 kb OK 5
18 6 ms 131 kb OK 5
19 34 ms 131 kb OK 5
20 29 ms 131 kb OK 5
Punctaj total 100