如果你使用了 check 判断 s1,s2 是否合法时且 TLE
可以尝试 (string &s1,string &s2)
(string &s1,string &s2)
速度快了好几倍
https://atcoder.jp/contests/abc324/submissions/46658413