![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
*Slime*
这个作者很懒,什么都没留下…
展开
-
Codeforces Educational Codeforces Round 77 (Rated for Div. 2)(D. A Game with Traps)
D. A Game with Traps题意:给你一群士兵(每个士兵有灵活值aia_iai)给出地雷的信息(地雷的位置,解锁地雷位置,士兵躲避地雷的最低灵活值)你是将军,可以到解锁地雷的位置解锁地雷然后再回去带兵通过雷区。问在t时间内,你最多能带多少个兵。(注意:兵一定得有将军带才能行动)样例:5(士兵的数量) 6(离目的地还有多远) 4(炸弹的数量) 14(时限)1 2 3 ...原创 2019-11-29 13:51:53 · 165 阅读 · 0 评论 -
Codeforces Round #575 (Div. 3) D1D2 RGB Substring (hard version)(思维)
D2. RGB Substring (hard version)传送门he only difference between easy and hard versions is the size of the input.You are given a string s consisting of n characters, each character is ‘R’, ‘G’ or ‘B’....原创 2019-07-25 10:46:10 · 128 阅读 · 0 评论 -
2019暑假杭电多校赛第一场D.Vacation(思维)
Vacation传送门:http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1004&cid=848Problem DescriptionTom and Jerry are going on a vacation. They are now driving on a one-way road and several c...原创 2019-07-22 19:47:08 · 405 阅读 · 1 评论 -
2019牛客多校赛第十场F.Popping Balloons(multiset+贪心)
更多多校信息←请点击这里F.Popping Balloons传送门Recently, an interesting balloon-popping game can be commonly found near the streets. The rule of this game is quite simple: some balloons are tied to cells of a la...原创 2019-08-18 14:14:35 · 790 阅读 · 0 评论