CodeForces

Problem D – Codeforces Round #127 (Div. 1) 多模式串匹配,是不是又是AC自动机啊? 显然,每个文本串中,模式串的排列构成的子序列的逆序对数量只和模...

More
  • 2021年10月12日