Borderou de evaluare (job #760518)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Șir7 (clasa a 5-a) Compilator c-32
Rundă Tema 24 Clasa a 5-a Status evaluat
Dată 5 feb. 2024 20:12:59 Scor 36

Raport evaluator

Compilare: main.c: In function 'main': main.c:43:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 43 | for(i=0;v[ei]>v[i]&&br!=1&&i<ei;i++) | ^~~ main.c:47:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 47 | if(i==ei) | ^~ main.c:13:26: warning: variable 'ni' set but not used [-Wunused-but-set-variable] 13 | int ei,br=0,max=0,sk,ni; | ^~ main.c:13:23: warning: variable 'sk' set but not used [-Wunused-but-set-variable] 13 | int ei,br=0,max=0,sk,ni; | ^~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d%d",&c,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'db': main.c:72:1: warning: control reaches end of non-void function [-Wreturn-type] 72 | } | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 49 ms 507 kb Incorect 0
7 1 ms 245 kb OK 4
8 1 ms 245 kb OK 4
9 1 ms 245 kb OK 4
10 1 ms 245 kb OK 4
11 1 ms 245 kb OK 4
12 1 ms 245 kb OK 4
13 1 ms 249 kb OK 4
14 49 ms 507 kb OK 4
15 1 ms 249 kb Incorect 0
16 1 ms 249 kb Incorect 0
17 1 ms 249 kb Incorect 0
18 1 ms 249 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 249 kb Incorect 0
21 1 ms 249 kb Incorect 0
22 1 ms 249 kb Incorect 0
23 1 ms 249 kb Incorect 0
24 9 ms 249 kb Incorect 0
25 39 ms 512 kb Incorect 0
Punctaj total 36