Borderou de evaluare (job #616129)

Utilizator avatar dcautis Cautis Damian Simion dcautis IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator c-32
Rundă Tema 14 clasa a 5-a Status evaluat
Dată 14 nov. 2021 13:25:01 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17 | if (x>max) | ^~ main.c:19:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 19 | if(x%c!=0) | ^~ main.c:5:15: warning: unused variable 'y' [-Wunused-variable] 5 | int n, x, y, i, p, v, max, c; | ^ main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d",&p); | ^~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d",&v); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 131 kb OK 10
2 3 ms 131 kb Incorect 0
3 3 ms 131 kb Incorect 0
4 3 ms 131 kb Incorect 0
5 3 ms 131 kb Incorect 0
6 3 ms 131 kb Incorect 0
7 3 ms 131 kb Incorect 0
8 3 ms 126 kb OK 10
9 4 ms 131 kb OK 10
10 3 ms 131 kb Incorect 0
Punctaj total 30