Borderou de evaluare (job #813200)

Utilizator avatar mihaisan Mihai Sandu mihaisan IP ascuns
Problemă Zar (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 mar. 2025 22:45:42 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:30:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:31:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin, "%d %d", &lc, &cc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:35:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%d", &points[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin, "%d", &m); | ^~~~~~~~~~~~~~~~~~~~~ main.c:39:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | fscanf(fin, "%s", moves); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:61:17: warning: 'dir' may be used uninitialized [-Wmaybe-uninitialized] 61 | ln = lc + dl[dir]; | ~~^~~~~ main.c:24:35: note: 'dir' was declared here 24 | int n, lc, cc, ln, cn, i, j, k, dir, m, error; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 266 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 266 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 507 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100