Borderou de evaluare (job #732299)

Utilizator avatar maria.bertolon Nerdvana 7 Maria Bertolon maria.bertolon IP ascuns
Problemă Traseu2 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 15 sept. 2023 23:31:55 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:29:24: warning: array subscript has type 'char' [-Wchar-subscripts] 29 | lin = (lin + dirl[dir] * nrmisc + mnl) % nrlin; | ^ main.c:30:24: warning: array subscript has type 'char' [-Wchar-subscripts] 30 | col = (col + dirc[dir] * nrmisc + mnc) % nrcol; | ^ main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf( fin, "%d%d%d%d%d", &lin, &col, &nrlin, &nrcol, &x ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf( fin, "%d", &nrmisc ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 241 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 245 kb OK 5
10 1 ms 249 kb OK 5
11 1 ms 249 kb OK 5
12 1 ms 249 kb OK 5
13 1 ms 249 kb OK 5
14 9 ms 249 kb OK 5
15 9 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 9 ms 249 kb OK 5
18 519 ms 245 kb OK 5
19 61 ms 245 kb OK 5
20 59 ms 241 kb OK 5
Punctaj total 100