Pagini recente »
Borderou de evaluare (job #134189)
|
Borderou de evaluare (job #513475)
|
Borderou de evaluare (job #387325)
|
Borderou de evaluare (job #739043)
|
Borderou de evaluare (job #728732)
Borderou de evaluare (job #728732)
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:31:40: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | else if(ch=='E'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){
| ^
main.c:31:64: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | else if(ch=='E'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){
| ^
main.c:32:24: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | l+=dir[char2dir[ch]][0];
| ^
main.c:33:24: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | c+=dir[char2dir[ch]][1];
| ^
main.c:39:40: warning: array subscript has type 'char' [-Wchar-subscripts]
39 | else if(ch=='S'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){
| ^
main.c:39:64: warning: array subscript has type 'char' [-Wchar-subscripts]
39 | else if(ch=='S'&&v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){
| ^
main.c:40:24: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | l+=dir[char2dir[ch]][0];
| ^
main.c:41:24: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | c+=dir[char2dir[ch]][1];
| ^
main.c:47:32: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | else if(v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){
| ^
main.c:47:56: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | else if(v[l+dir[char2dir[ch]][0]][c+dir[char2dir[ch]][1]]!=-1){
| ^
main.c:48:24: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | l+=dir[char2dir[ch]][0];
| ^
main.c:49:24: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | 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
|
OK
|
10
|
|
2
|
2 ms
|
147 kb
|
OK
|
10
|
|
3
|
1 ms
|
507 kb
|
OK
|
10
|
|
4
|
1 ms
|
503 kb
|
OK
|
10
|
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
|
6
|
1 ms
|
503 kb
|
OK
|
10
|
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
|
8
|
1 ms
|
507 kb
|
OK
|
10
|
|
9
|
9 ms
|
3391 kb
|
OK
|
10
|
|
10
|
9 ms
|
4177 kb
|
OK
|
10
|
|
Punctaj total
|
100
|