摘要: # T1 [P1173 [NOI2016] 网格 ](https://www.luogu.com.cn/problem/P1173) 一眼分讨,考场觉得不划算,就暴力都没打。 答案只可能是 $-1$,$0$,$1$,$2$。$-1$ 很好判,重点再判 $0$ 和 $1$,先对部分店建图判断连通性,不 阅读全文
posted @ 2023-07-01 14:56 牛肉爱吃dks 阅读(15) 评论(0) 推荐(0) 编辑
摘要: # T1 [BS5656 最大值Max](https://oj.bashu.com.cn/code/problempage.php?problem_id=5656) 期望 / 实际:$17 / 17$ 考场没思路,打暴力。 将每个数分开看,dp 预处理出对于每个数,再某些位置被加最终值得概率。再次 阅读全文
posted @ 2023-07-01 14:39 牛肉爱吃dks 阅读(11) 评论(0) 推荐(0) 编辑