Borderou de evaluare (job #690800)

Utilizator avatar ultra980 Alex Stan ultra980 IP ascuns
Problemă Roboti (clasa a 6-a) Compilator c-32
Rundă Tema 16 clasa a 6-a Status evaluat
Dată 27 ian. 2023 23:27:27 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:35:61: warning: array subscript has type 'char' [-Wchar-subscripts] 35 | dir[ nrRoboti + 1 ] = ch2dir[ ch ]; | ^ main.c:60:60: warning: array subscript has type 'char' [-Wchar-subscripts] 60 | lin[ robot ] += dirLin[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:61:60: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | col[ robot ] += dirCol[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:65:48: warning: array subscript has type 'char' [-Wchar-subscripts] 65 | if ( tabla[ lin[ robot ] ][ col[ robot ] ] == OOB ) { // robotul a ieșit; îi schimb direcția | ~~~^~~~~~~~~ main.c:65:64: warning: array subscript has type 'char' [-Wchar-subscripts] 65 | if ( tabla[ lin[ robot ] ][ col[ robot ] ] == OOB ) { // robotul a ieșit; îi schimb direcția | ~~~^~~~~~~~~ main.c:70:72: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | lin[ robot ] += 2 * dirLin[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:71:72: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | col[ robot ] += 2 * dirCol[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:77:48: warning: array subscript has type 'char' [-Wchar-subscripts] 77 | if ( tabla[ lin[ robot ] ][ col[ robot ] ] == 0 ) { // mai este un robot aici? | ~~~^~~~~~~~~ main.c:77:64: warning: array subscript has type 'char' [-Wchar-subscripts] 77 | if ( tabla[ lin[ robot ] ][ col[ robot ] ] == 0 ) { // mai este un robot aici? | ~~~^~~~~~~~~ main.c:78:51: warning: array subscript has type 'char' [-Wchar-subscripts] 78 | tabla[ lin[ robot ] ][ col[ robot ] ] = robot; | ~~~^~~~~~~~~ main.c:78:67: warning: array subscript has type 'char' [-Wchar-subscripts] 78 | tabla[ lin[ robot ] ][ col[ robot ] ] = robot; | ~~~^~~~~~~~~ main.c:80:71: warning: array subscript has type 'char' [-Wchar-subscripts] 80 | dir[ robot ] = dir[ tabla[ lin[ robot ] ][ col[ robot ] ] ] = DISABLED; | ~~~^~~~~~~~~ main.c:80:87: warning: array subscript has type 'char' [-Wchar-subscripts] 80 | dir[ robot ] = dir[ tabla[ lin[ robot ] ][ col[ robot ] ] ] = DISABLED; | ~~~^~~~~~~~~ main.c:96:35: warning: array subscript has type 'char' [-Wchar-subscripts] 96 | tabla[ lin[ robot ] ][ col[ robot ] ] = dir2ch[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:96:51: warning: array subscript has type 'char' [-Wchar-subscripts] 96 | tabla[ lin[ robot ] ][ col[ robot ] ] = dir2ch[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:96:76: warning: array subscript has type 'char' [-Wchar-subscripts] 96 | tabla[ lin[ robot ] ][ col[ robot ] ] = dir2ch[ dir[ robot ] ]; | ~~~^~~~~~~~~ main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 110 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 110 kb OK 10
5 1 ms 110 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 1 ms 114 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 100