2020年3月3日

cf1321E

摘要: 很像二维偏序,我们把武器和怪物放在一起排序按照攻击力递增的顺序,顺序扫描,这样攻击力满足了要求,然后防御力可以用一个线段树来处理,具体看代码 #include<iostream> #include<cstdio> #include<cstring> #include<vector> #include 阅读全文

posted @ 2020-03-03 21:01 欣崽 阅读(246) 评论(0) 推荐(0) 编辑

导航