Borderou de evaluare (job #760806)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Șir7 (clasa a 5-a) Compilator c-32
Rundă Tema 24 Clasa a 5-a Status evaluat
Dată 7 feb. 2024 19:33:43 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf (fin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf (fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:25:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf (fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:41:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fscanf (fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:55:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf (fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:72:8: warning: 'primpoz' may be used uninitialized [-Wmaybe-uninitialized] 72 | for(i=primpoz+1;i<maxpoz;i++){ | ~^~~~~~~~~~ main.c:10:40: note: 'primpoz' was declared here 10 | int n, x, max, i , maxpoz, c, sum, primpoz; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 3 ms 245 kb OK 4
4 1 ms 245 kb OK 4
5 1 ms 245 kb OK 4
6 39 ms 249 kb OK 4
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 39 ms 249 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 245 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 507 kb OK 4
Punctaj total 100