Codeforces Round #691 (Div. 1) B. Glass Half Spilled 背包DP

B. Glass Half Spilled There are 𝑛 glasses on the table numbered 1,…,𝑛. The glass 𝑖 can hold up to 𝑎𝑖 units of water, and currently contains 𝑏𝑖
posted @ 2020-12-23 10:57  qscqesze  阅读(357)  评论(0编辑  收藏  举报