English, asked by varshap0399, 5 months ago

put Format:
The output contains the total distance T.
Sample Input1:
hears
heard
Sample Output1:
15
Explanation 1:
Distance between respective pairs of characters in X and Y are given in the table:
0
1
2
3
4
a
r
Index
Х
Y
Distance
h
h
0
a
S
d
15
e
0
r
0
0
Total distance T = 0+0+0+0+15 = 15 which is printed as output.
Sample Input2:
smile
smoke
itout2:​

Answers

Answered by vinushrisb2010
0

Answer:

the answer is what means 369842

Similar questions