Borderou de evaluare (job #694860)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Peridia (clasa a 6-a) Compilator c-32
Rundă Tema 18 clasa a 6-a Status evaluat
Dată 13 feb. 2023 00:50:43 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:23:35: warning: array subscript has type 'char' [-Wchar-subscripts] 23 | if(ch=='N'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:23:59: warning: array subscript has type 'char' [-Wchar-subscripts] 23 | if(ch=='N'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:24:24: warning: array subscript has type 'char' [-Wchar-subscripts] 24 | l+=dir[char2dir[ch]][0]; | ^ main.c:25:24: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | c+=dir[char2dir[ch]][1]; | ^ main.c:30:40: warning: array subscript has type 'char' [-Wchar-subscripts] 30 | else if(ch=='E'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:30:64: warning: array subscript has type 'char' [-Wchar-subscripts] 30 | else if(ch=='E'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:31:24: warning: array subscript has type 'char' [-Wchar-subscripts] 31 | l+=dir[char2dir[ch]][0]; | ^ main.c:32:24: warning: array subscript has type 'char' [-Wchar-subscripts] 32 | c+=dir[char2dir[ch]][1]; | ^ main.c:37:40: warning: array subscript has type 'char' [-Wchar-subscripts] 37 | else if(ch=='S'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:37:64: warning: array subscript has type 'char' [-Wchar-subscripts] 37 | else if(ch=='S'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:38:24: warning: array subscript has type 'char' [-Wchar-subscripts] 38 | l+=dir[char2dir[ch]][0]; | ^ main.c:39:24: warning: array subscript has type 'char' [-Wchar-subscripts] 39 | c+=dir[char2dir[ch]][1]; | ^ main.c:44:32: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | else if(v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:44:56: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | else if(v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){ | ^ main.c:45:24: warning: array subscript has type 'char' [-Wchar-subscripts] 45 | l+=dir[char2dir[ch]][0]; | ^ main.c:46:24: warning: array subscript has type 'char' [-Wchar-subscripts] 46 | c+=dir[char2dir[ch]][1]; | ^ main.c:11:5: 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 241 kb Incorect 0
2 1 ms 241 kb OK 10
3 1 ms 503 kb Incorect 0
4 1 ms 376 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 372 kb Incorect 0
7 2 ms 241 kb OK 10
8 1 ms 372 kb Incorect 0
9 1 ms 2740 kb Incorect 0
10 13 ms 4169 kb Incorect 0
Punctaj total 20