For two strings S and T, you can do the following operation for arbitrary number of times: Select a string
S or T, insert or delete a character at any position. The distance between two strings S and T is defifined
as the minimum number of operations to make S and T equal.
You will be given two strings A[1..n], B[1..m] and q queries.
In each query, you will be given two integers li and ri (1 ≤ li ≤ ri ≤ n), you need to fifind the distance
between the continous substring A[li
..ri] and the whole string B.