Borderou de evaluare (job #815764)

Utilizator avatar cerneaandreea Cernea Andreea cerneaandreea IP ascuns
Problemă Semafoare (clasa a 5-a) Compilator c-32
Rundă Tema 29 Clasa a 5-a Status evaluat
Dată 23 mar. 2025 11:25:34 Scor 17

Raport evaluator

Compilare: main.c: In function 'main': main.c:33:19: warning: unused variable 'p' [-Wunused-variable] 33 | int secunde,m,p; | ^ main.c:33:17: warning: unused variable 'm' [-Wunused-variable] 33 | int secunde,m,p; | ^ main.c:33:9: warning: unused variable 'secunde' [-Wunused-variable] 33 | int secunde,m,p; | ^~~~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&C); | ^~~~~~~~~~~~~~~~~~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&r1); | ^~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&g1); | ^~~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d",&v1); | ^~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&r2); | ^~~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&g2); | ^~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d",&v2); | ^~~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d",&t1); | ^~~~~~~~~~~~~~~~~~~~ main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%d",&t2); | ^~~~~~~~~~~~~~~~~~~~ main.c:62:24: warning: 'semafor1' may be used uninitialized [-Wmaybe-uninitialized] 62 | while(semafor1 != semafor2){ | ~~~~~~~~~^~~~~~~~~~~ main.c:19:9: note: 'semafor1' was declared here 19 | int semafor1,semafor2,ciclu1,ciclu2; | ^~~~~~~~ main.c:62:24: warning: 'semafor2' may be used uninitialized [-Wmaybe-uninitialized] 62 | while(semafor1 != semafor2){ | ~~~~~~~~~^~~~~~~~~~~ main.c:19:18: note: 'semafor2' was declared here 19 | int semafor1,semafor2,ciclu1,ciclu2; | ^~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb Incorect 0
3 3 ms 245 kb Incorect 0
4 1 ms 266 kb OK 3
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb OK 3
7 4 ms 122 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb OK 3
14 1 ms 245 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 4 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
21 1 ms 245 kb OK 3
22 308 ms 249 kb Time limit exceeded 0
23 309 ms 270 kb Time limit exceeded 0
24 309 ms 270 kb Time limit exceeded 0
25 309 ms 249 kb Time limit exceeded 0
26 309 ms 270 kb Time limit exceeded 0
27 309 ms 270 kb Time limit exceeded 0
28 309 ms 270 kb Time limit exceeded 0
29 1 ms 245 kb OK 3
30 308 ms 249 kb Time limit exceeded 0
31 309 ms 249 kb Time limit exceeded 0
32 309 ms 512 kb Time limit exceeded 0
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 17