Borderou de evaluare (job #760563)

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 21:15:19 Scor 76

Raport evaluator

Compilare: main.c: In function 'main': main.c:26:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 26 | if(max<ei&&i<=n) | ^ main.c:38:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 38 | for(i=0;v[ei]>v[i]&&br!=1&&i<ei;i++) | ^~~ main.c:42:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 42 | if(i==ei) | ^~ main.c:13:28: warning: variable 'ni' set but not used [-Wunused-but-set-variable] 13 | int ei,br=0,max=0,sk=0,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:87:1: warning: control reaches end of non-void function [-Wreturn-type] 87 | } | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
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 503 kb OK 4
15 1 ms 245 kb OK 4
16 1 ms 245 kb OK 4
17 1 ms 245 kb OK 4
18 1 ms 241 kb OK 4
19 1 ms 245 kb OK 4
20 1 ms 245 kb OK 4
21 1 ms 245 kb OK 4
22 1 ms 245 kb OK 4
23 1 ms 245 kb OK 4
24 9 ms 245 kb OK 4
25 39 ms 499 kb OK 4
Punctaj total 76