Borderou de evaluare (job #642578)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Ktlon (clasa a 5-a) Compilator c-32
Rundă Tema 33 clasa a 5-a Status evaluat
Dată 20 mar. 2022 20:12:14 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d%d", &c, &k, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:20:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:38:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin, "%d", &f[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:43:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin, "%d", &r[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:66:27: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 66 | r[l]=r[p]; | ~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 2 ms 114 kb OK 5
4 48 ms 118 kb OK 5
5 297 ms 118 kb OK 5
6 328 ms 118 kb OK 5
7 318 ms 118 kb OK 5
8 1 ms 114 kb OK 5
9 1 ms 114 kb OK 5
10 1 ms 118 kb OK 5
11 1 ms 118 kb OK 5
12 15 ms 118 kb OK 5
13 63 ms 118 kb OK 5
14 1 ms 114 kb OK 5
15 66 ms 114 kb OK 5
16 206 ms 245 kb OK 5
17 190 ms 249 kb OK 5
18 333 ms 241 kb OK 5
19 330 ms 245 kb OK 5
20 323 ms 249 kb OK 5
Punctaj total 100