摘要: Codeforces Round 499 (Div. 1) https://codeforces.com/contest/1010 为啥我$\rm Div.1$能$A4$题还是$\rm specialist....$ A. Fly 二分答案,送分题。 B. Rocket 简单的交互题。 第一轮先每次 阅读全文
posted @ 2019-06-16 16:58 Hyscere 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 499 (Div. 1) F. Tree 题目链接 $\rm CodeForces$: Solution 设$v_i$表示第$i$个点的果子数,设$b_i=v_i \sum_{x\in son}v_x$,显然依题意要满足$b_i\geqslant 0$。 根据差分的 阅读全文
posted @ 2019-06-16 16:49 Hyscere 阅读(274) 评论(1) 推荐(1) 编辑