上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: 感谢秋招,让我越发肯定了自己有多么差劲作者:... 阅读全文
posted @ 2018-09-29 20:29 Nlifea 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Problem Destribe Little D is really interested in the theorem of sets recently. There’s a problem that confused him a long time. Let T be a set of int 阅读全文
posted @ 2018-09-28 21:16 Nlifea 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 题目链接 : HDU - 2829 题意 : 给出一条笔直无分叉的铁路上有n个仓库,每个仓库有一个v[i]代表价值; 每两个仓库之间算作一段铁路,现在有m次攻击机会,一次攻击可以炸毁一段铁路; m次攻击后,剩余的总价值为:Σ(v[i]*v[j]),i和j为所有任意两个互相可到达的仓库。 现要求选定m 阅读全文
posted @ 2018-09-27 08:46 Nlifea 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Problem Describe Ryuji is not a good student, and he doesn’t want to study. But there are n books he should learn, each book has its knowledge a[i]a[i 阅读全文
posted @ 2018-09-11 15:43 Nlifea 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Problem Describe 第二次世界大战时期,英国皇家空军从沦陷国征募了大量外籍飞行员。由皇家空军派出的每一架飞机都需要配备在航行技能和语言上能互相配合的2名飞行员,其中1名是英国飞行员,另1名是外籍飞行员。在众多的飞行员中,每一名外籍飞行员都可以与其他若干名英国飞行员很好地配合。如何选择配 阅读全文
posted @ 2018-09-11 09:03 Nlifea 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Problem Description Dr. Ellie Arroway has established contact with an extraterrestrial civilization. However, all efforts to decode their messages hav 阅读全文
posted @ 2018-09-07 19:23 Nlifea 阅读(120) 评论(0) 推荐(0) 编辑
摘要: ##HDU 1251 - 统计难题 ###Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). ###Input 输入数据的第一部分是一张单词 阅读全文
posted @ 2018-09-06 20:50 Nlifea 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题意:有n个问题,做第i个问题得分是t*a[i]+bi, 但是做第i题之前还需要先做其他的一些题目….可以选择不做完所有的题,问最后的最高得分. 思路:深搜就可以了,跟很多深搜的问题一样,有很多重复的子问题,此题的记忆化很奇特用的二进制类似状压的思想 AC code: 阅读全文
posted @ 2018-09-06 16:29 Nlifea 阅读(104) 评论(0) 推荐(0) 编辑
摘要: A square-free integer is an integer which is indivisible by any square number except 11. For example, 6 = 2 \cdot 36=2⋅3 is square-free, but 12=22∗312 阅读全文
posted @ 2018-09-05 23:23 Nlifea 阅读(102) 评论(0) 推荐(0) 编辑
摘要: ###Description 您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作: ###Input 第一行为n,表示操作的个数,下面n行每行有两个数opt和x,opt表示操作的序号(1<=opt<=6) ###Output 对于操作3,4,5,6每行输出一个数,表示对应答案 阅读全文
posted @ 2018-09-05 21:55 Nlifea 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页