上一页 1 ··· 64 65 66 67 68
摘要: 很蠢地在div2的D题卡住做不出来,这次的D题算是比较简单的,看了题解之后学会了一种新姿势 后缀修改数组,贪心新姿势!! 本题题意: 有n个怪物,每个怪物的power是ai 有 m个勇士,power是pi ,忍耐度是si 当勇士比当前怪物power小或忍耐度为0时结束一天,不然就继续。求最小天数。 阅读全文
posted @ 2019-12-07 22:45 朝暮不思 阅读(340) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<algorithm> #include<cstdio> #include<string> #include<cstring> using namespace std; typedef long long ll; const int N=1000 阅读全文
posted @ 2019-12-07 21:40 朝暮不思 阅读(216) 评论(0) 推荐(0) 编辑
上一页 1 ··· 64 65 66 67 68