Borderou de evaluare (job #798433)

Utilizator avatar miscento Tudor Paltanea miscento IP ascuns
Problemă Fermier1 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 dec. 2024 13:00:39 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d %d\n", &n, &c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &d[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin, "%d", &q[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:84:5: warning: 'dist' may be used uninitialized [-Wmaybe-uninitialized] 84 | fprintf(fout, "%d\n", t - dist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:18: note: 'dist' was declared here 14 | int n, c, i, dist, distTotal, t, left; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana - puncte din oficiu 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 2 ms 507 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 2 ms 507 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 507 kb Incorect 0
10 1 ms 245 kb Incorect 0
11 2 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 2 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 2 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
21 1 ms 245 kb Incorect 0
Punctaj total 10