奈芙莲有一个字符串数组 。
为 What are you doing at the end of the world? Are you busy? Will you save us?。
What are you doing at the end of the world? Are you busy? Will you save us?
她想让更多人了解这个数组,所以她定义:
注意其中的引号。
奈芙莲会询问 次,第 次给定 ,你需要求出 的值。注意字符串从 开始。
第一行一个正整数 ,表示询问的次数。
接下来 行,每行两个整数 。
输出一行 个字符。第 个字符表示第 组询问时 的值。如果第 组询问时 ,则第 个字符输出 .。
.
3 1 1 1 2 1 111111111111
Wh.
5 0 69 1 194 1 139 0 47 1 66
abdef
10 4 1825 3 75 3 530 4 1829 4 1651 3 187 4 584 4 255 4 774 2 474
Areyoubusy
对于所有数据,。