摘要: 题目 题目链接:https://www.luogu.com.cn/problem/P4755 小 D 有个数列 \(\{a\}\),当一个数对 \((i,j)(i\le j)\) 满足 \(a_i\) 和 \(a_j\) 的积不大于 \(a_i,a_{i+1},\cdots,a_j\) 中的最大值时 阅读全文
posted @ 2021-11-19 14:56 stoorz 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 题目 题目链接:https://codeforces.com/contest/446/problem/D 有一张 \(n\) 个点 \(m\) 条边的无向图,有一些点有陷阱(保证点 \(1\) 没有,点 \(n\) 有)。最开始有 \(k\) 条命,每次走到一个有陷阱的点就会减少一条命。每次会从当前 阅读全文
posted @ 2021-11-19 12:42 stoorz 阅读(53) 评论(0) 推荐(0) 编辑