摘要: Comet OJ - Contest #2 简要题解 cometoj A 模拟,复杂度是对数级的。 code B 首先易知$p\in[l,r]$,且最终的利润关于$p$的表达式为$\frac{(p-l)(\frac{L+R}{2}-p)}{r-l}$,二次函数求最值即可。 code C 枚举独立集点 阅读全文
posted @ 2019-04-27 10:10 租酥雨 阅读(1099) 评论(2) 推荐(0) 编辑