摘要: 枚举最后食物 cpp include include include include include define R(a,b,c) for(register int a = (b); a = (c); a) define Max(a,b) ((a) (b) ? (a) : (b)) define 阅读全文
posted @ 2019-07-25 21:55 邱涵的秘密基地 阅读(130) 评论(0) 推荐(0) 编辑
摘要: CF上下了数据,本地能过,一交就错 这状压不用解释,看代码就懂。 阅读全文
posted @ 2019-07-25 21:22 邱涵的秘密基地 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 曾几何时有人说概率期望easy。。。 显然,期望是$\frac{w}{2^n}$ 阅读全文
posted @ 2019-07-25 15:30 邱涵的秘密基地 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 贪心 考场上因无优化与卡常T掉的$n \log(n)$ 正解用数据结构,或STL水 阅读全文
posted @ 2019-07-25 14:55 邱涵的秘密基地 阅读(104) 评论(0) 推荐(0) 编辑