Borderou de evaluare (job #770207)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Consiliu (clasa a 5-a) Compilator c-32
Rundă Tema 32 Clasa a 5-a Status evaluat
Dată 26 mar. 2024 09:39:57 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:39: warning: unused variable 'b' [-Wunused-variable] 7 | int n, hi, mi, hp, mp, ti, tp, p, b, u, r, i; | ^ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d%d%d%d",&hi,&mi,&hp,&mp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:24:17: warning: 'ti' may be used uninitialized [-Wmaybe-uninitialized] 24 | p+=f[ti]; | ~^~~~ main.c:7:28: note: 'ti' was declared here 7 | int n, hi, mi, hp, mp, ti, tp, p, b, u, r, i; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 266 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 266 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 266 kb OK 5
11 1 ms 249 kb Killed by Signal 11 0
12 1 ms 245 kb OK 5
13 1 ms 245 kb Incorect 0
14 1 ms 241 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 249 kb Killed by Signal 11 0
19 1 ms 507 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 40