Borderou de evaluare (job #795896)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Roboti (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 18 nov. 2024 14:59:27 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%s", grid[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:43:32: warning: 'dir' may be used uninitialized [-Wmaybe-uninitialized] 43 | nj = j + dy[dir]; | ~~^~~~~ main.c:7:21: note: 'dir' was declared here 7 | int i, j, step, dir; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 266 kb OK 10
6 1 ms 245 kb OK 10
7 4 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100