摘要: https://atcoder.jp/contests/abc221/tasks/abc221_e 题意 给定一个长度为$n$的数列$a_1,a_2,...a_n$,求有多少子序列(不一定连续)\(a_i,a_{i+1},...,a_{k}\),满足$a_i\le a_k$。 \(n\le 3\ti 阅读全文
posted @ 2021-10-11 11:50 hzy1 阅读(40) 评论(1) 推荐(0) 编辑