摘要: "题目链接" 题意 有 $n$ 个容积无限的水缸,初始时水量为$a_1,a_2,...,a_n$,有一把容积为$k$的勺子,可以从一个水缸中舀水倒入另一个水缸中。问能否给出操作序列,使得最终某一个水缸中水的容量为$V$. 思路 参考 "粉兔" . 结论 首先,如果$\sum_{i=1}^{n}a_i 阅读全文
posted @ 2018-02-04 13:53 救命怀 阅读(259) 评论(0) 推荐(1) 编辑
摘要: "A. K th Symbol in Grammar" Description On the first row, we write a 0. Now in every subsequent row, we look at the previous row and replace each occu 阅读全文
posted @ 2018-02-04 13:12 救命怀 阅读(248) 评论(0) 推荐(0) 编辑