"hdu 4549 求幂大法、矩阵快速幂、快速幂" 题目 M斐波那契数列 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 6217 Accepte ...
分类:
其他好文 时间:
2019-03-29 20:52:53
阅读次数:
181
1.贪心:最优队列 http://poj.org/problem?id=3253 倒推,最小的两个和在一起,加入队列(模拟倒割) #include<iostream> #include<algorithm> #include<queue> #define LL long long using nam ...
分类:
其他好文 时间:
2019-03-29 19:07:18
阅读次数:
153
Problem Description Zero has an old printer that doesn't work well sometimes. As it is antique, he still like to use it to print articles. But it is t ...
分类:
其他好文 时间:
2019-03-28 14:04:46
阅读次数:
184
明明是同样的思想,C代码AC而JAVA代码却总是WA。。。。 呜呜呜┭┮﹏┭┮ ...
分类:
其他好文 时间:
2019-03-27 19:50:03
阅读次数:
158
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1024 Problem Description Now I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brav ...
分类:
其他好文 时间:
2019-03-27 00:05:00
阅读次数:
219
http://acm.hdu.edu.cn/showproblem.php?pid=2602 01背包 1 #include <map> 2 #include <cstdio> 3 #include <stack> 4 #include <cmath> 5 #include <queue> 6 #i ...
分类:
其他好文 时间:
2019-03-26 01:19:00
阅读次数:
161
1:HDU 5122 K.Bro Sorting 题目描述:输入T,代表T组样例,每组样例输入n代表n个数,要求进行操作,使n个数为升序排列,求最少操作的次数。 进行的操作为:对于任意一个数来说,如果它大于等于它右边的数,则交换两数的位置,直到小于右边的数或者到了数组尾部。比如2 5 4 1 3,对 ...
分类:
其他好文 时间:
2019-03-25 21:58:29
阅读次数:
234
HDU 不要62 题目传送门 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 问题描述: 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新 ...
分类:
其他好文 时间:
2019-03-25 20:44:42
阅读次数:
187
链接:https://vjudge.net/problem/HDU-1495 题意: 大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只 ...
分类:
其他好文 时间:
2019-03-25 00:58:09
阅读次数:
167