摘要: #3798. 炒币 吐槽:因为考试的时候一时脑残,想出了一个 DM 思路,于是和它奋战了一整天。 Solution One 思路 不难想到构造一个折线图,取每一个单调递减区间的首节点和尾节点,具体见 蔡景行。 代码: #include <bits/stdc++.h> #define Maxn 200 阅读全文
posted @ 2024-08-07 16:25 BLM-dolphin 阅读(39) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-02-26 21:54 BLM-dolphin 阅读(20) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-02-26 21:53 BLM-dolphin 阅读(3) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-02-26 21:53 BLM-dolphin 阅读(10) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-02-26 21:52 BLM-dolphin 阅读(8) 评论(0) 推荐(0)