Borderou de evaluare (job #817569)

Utilizator avatar cerneaandreea Cernea Andreea cerneaandreea IP ascuns
Problemă P13 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 apr. 2025 10:31:13 Scor 55

Raport evaluator

Compilare: main.c: In function 'main': 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", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf( fin, "%d", &k ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:17:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf( fin, "%d", &a ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:70:24: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 70 | sol+=(p-s+1); | ~^~ main.c:7:15: note: 'p' was declared here 7 | int c,n,k,p; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 59 ms 765 kb OK 5
4 49 ms 528 kb OK 6
5 1 ms 245 kb OK 5
6 9 ms 512 kb OK 5
7 49 ms 507 kb Incorect 0
8 49 ms 512 kb OK 6
9 48 ms 507 kb OK 6
10 1 ms 512 kb OK 6
11 1 ms 249 kb OK 6
12 1 ms 249 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 270 kb Incorect 0
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 29 ms 507 kb Incorect 0
22 39 ms 532 kb Incorect 0
23 39 ms 507 kb Incorect 0
24 59 ms 507 kb Incorect 0
25 49 ms 512 kb Incorect 0
26 49 ms 507 kb Incorect 0
27 51 ms 512 kb Incorect 0
28 39 ms 512 kb Incorect 0
29 2 ms 249 kb Incorect 0
Punctaj total 55