CF741E Arpa’s abnormal DNA and Mehrdad’s deep interest
题意:给定两个串\(S\)和\(T\),定义\(R_i\)为在\(s_i\)和\(s_{i+1}\)之间插入\(T\)串得到的字符串。\(i\in[0,|S|]\)有\(Q\)次询问,形如\((l,r,k,x,y)\),求满足\(l\leqi\leqr\)且\(x\)\(\leq\)\(i\)mod\(k\)\(\leqy\)的所有\(i\)中,字典序最小的\(i\)。\(|S|,|T|,Q\le