Borderou de evaluare (job #668412)

Utilizator avatar Andreea3425 Diaconu Andreea Andreea3425 IP ascuns
Problemă Portofel (clasa a 5-a) Compilator c-32
Rundă Tema 4 clasa a 6-a Status evaluat
Dată 10 oct. 2022 17:20:01 Scor 39

Raport evaluator

Compilare: main.c: In function 'main': main.c:42:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 42 | if (v[i]>x) | ^~ main.c:44:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 44 | max=i; | ^~~ main.c:10:41: warning: unused variable 'q' [-Wunused-variable] 10 | int n,a,m,b,i,h,x,max,grupe,j,k,l,r,q,ok; | ^ main.c:10:39: warning: unused variable 'r' [-Wunused-variable] 10 | int n,a,m,b,i,h,x,max,grupe,j,k,l,r,q,ok; | ^ main.c:10:23: warning: variable 'max' set but not used [-Wunused-but-set-variable] 10 | int n,a,m,b,i,h,x,max,grupe,j,k,l,r,q,ok; | ^~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:25:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin, "%d", &m); | ^~~~~~~~~~~~~~~~~~~~~ main.c:28:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin, "%d", &b); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb a) OK; b) rezultat incorect 1
2 1 ms 114 kb a) OK; b) rezultat incorect 1
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb a) OK; b) rezultat incorect 1
6 1 ms 114 kb a) OK; b) rezultat incorect 1
7 1 ms 512 kb a) OK; b) rezultat incorect 1
8 1 ms 503 kb a) OK; b) rezultat incorect 1
9 119 ms 118 kb OK 5
10 116 ms 118 kb a) OK; b) rezultat incorect 1
11 1 ms 114 kb a) OK; b) rezultat incorect 1
12 1 ms 110 kb a) OK; b) rezultat incorect 1
13 1 ms 114 kb OK 5
14 1 ms 114 kb a) OK; b) rezultat incorect 1
15 1 ms 114 kb a) rezultat incorect; b) rezultat incorect 0
16 1 ms 114 kb OK 5
17 1 ms 241 kb a) OK; b) rezultat incorect 1
18 1 ms 241 kb a) OK; b) rezultat incorect 1
19 1 ms 245 kb a) OK; b) rezultat incorect 1
20 121 ms 1032 kb a) OK; b) rezultat incorect 1
Punctaj total 39