Pagini recente »
Borderou de evaluare (job #694629)
Borderou de evaluare (job #694629)
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
|
245 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
241 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
376 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
241 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
376 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
372 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
3002 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
2998 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|