An integer T in the first line indicates the number of tests.
For each test,first line contains two integer n,Q - the length of S and the number of queries.
The second line contains string S of length n consisting of lowercase English letters.
For the next Q lines, each line contains two integers x,y.
$1\le T\le 5,1 \le n, Q \le 2 \times 10^5, 1 \le x, y \le n$