Pagini recente »
Borderou de evaluare (job #267269)
|
Borderou de evaluare (job #837807)
|
Borderou de evaluare (job #380565)
|
Borderou de evaluare (job #315048)
|
Borderou de evaluare (job #694861)
Borderou de evaluare (job #694861)
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
|
245 kb
|
OK
|
10
|
|
3
|
1 ms
|
503 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
372 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
372 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
241 kb
|
OK
|
10
|
|
8
|
1 ms
|
376 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
2740 kb
|
Incorect
|
0
|
|
10
|
12 ms
|
4173 kb
|
Incorect
|
0
|
|
Penalizare: 5% (pentru 1 submisie/ii)
|
5%
|
|
Punctaj total
|
19
|