摘要: CF55D Beautiful numbers 题目描述 Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if an 阅读全文
posted @ 2020-07-31 14:10 Michmh 阅读(141) 评论(0) 推荐(0)
摘要: [JSOI2008]魔兽地图 题目描述 DotR (Defense of the Robots) Allstars是一个风靡全球的魔兽地图,他的规则简单与同样流行的地图DotA (Defense of the Ancients) Allstars。 DotR里面的英雄只有一个属性——力量。他们需要购 阅读全文
posted @ 2020-07-24 15:03 Michmh 阅读(178) 评论(0) 推荐(0)
摘要: Normal $\text 1. 区间 思路 枚举长度、起点、终点。 板子 样题:石子合并 for(int len = 2; len <= n; len++)//枚举长度 for(int i = 1; i+len-1 <= n; i++){//枚举起点 int j = i+len-1;//算出终点 阅读全文
posted @ 2020-05-25 17:37 Michmh 阅读(170) 评论(1) 推荐(0)