摘要: "PTA" "牛客" A. 托米的字符串 显然答案为: $$ \frac{n(n+1)}{2}\cdot\sum_{len=1}^n\frac{f(len)}{len} $$ 其中$f(i)$表示长度为$i$的所有串中含元音的个数。 显然$f(1)$易求,那么$\displaystyle f(2)= 阅读全文
posted @ 2020-02-06 18:02 heyuhhh 阅读(453) 评论(0) 推荐(0) 编辑