自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

布生气

mqsee.blog.csdn.net

  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

原创 HDU 3972 1 M possible(思维)

1 M possibleTime Limit: 15000/5000 MS (Java/Others)    Memory Limit: 2048/1024 K (Java/Others)Total Submission(s): 1031    Accepted Submission(s): 343Problem DescriptionThere are 3*N+2

2014-05-28 13:29:52 1582

原创 HDU3306Another kind of Fibonacci(简单矩阵快速幂)

哎,本来是想学学矩阵构造的方法的,,突然发现自己不用看直接就会yy构造。。。看下右边有什么。。题目地址:Another kind of FibonacciAC代码:#include#include#include#includeusing namespace std;const int mod=10007;int p[4][4],a[4][4],tmp

2014-05-24 22:27:01 1543

原创 POJ 3977Subset(枚举+二分)

SubsetTime Limit: 30000MS Memory Limit: 65536KTotal Submissions: 1562 Accepted: 261DescriptionGiven a list of N integers with absolute values no larger than 1015,

2014-05-20 17:43:53 1904 2

原创 ZOJ3640 Help Me Escape(概率dp)

p Me EscapeTime Limit: 2 Seconds      Memory Limit: 32768 KBBackground    If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto th

2014-05-19 22:07:42 1649

原创 ZOJ3629 Treasure Hunt IV(找规律,推公式)

Treasure Hunt IVTime Limit: 2 Seconds      Memory Limit: 65536 KBAlice is exploring the wonderland, suddenly she fell into a hole, when she woke up, she found there are b - a + 1 treasures

2014-05-17 12:10:22 1972

原创 Codeforces #246(div2)

A:A. Choosing Teams.题目就不介绍了,直接统计即可。AC代码:#include#include#includeusing namespace std;int cnt[6];int main(){ int n,k,i,x; while(cin>>n>>k) { memset(cnt,0,sizeof(cnt));

2014-05-16 16:43:47 1333

原创 zoj3678The Toy of Flandre Scarlet(水,高中老师提过。。)

The Toy of Flandre ScarletTime Limit: 2 Seconds      Memory Limit: 65536 KBAs you know, Flandre Scarlet loves her elder sister Remilia Scarlet, and of course, Remilia loves Flandre, too. B

2014-05-13 21:54:45 1579

原创 ZOJ 3681E - Cup 2(记忆化dfs)不好读

E - Cup 2Time Limit: 2 Seconds      Memory Limit: 65536 KBThe European Cup final is coming. The past two World Cup winners, Spain and Italy, will contest the decider at Kiev's Olympic Stad

2014-05-13 17:14:41 1359

原创 Codeforces #245(div2)

A:A. Points and Segments (easy)题目看了n久,开始觉得尼玛这是div2的题目么,题目还标明了easy。。意思是给你一n个点,m个区间,在n个点上放蓝球或者红球,然后让你找一种选择方案使得m个区间内的蓝球和红球数量之差不超过1.开始想过用dfs,不过这只是div2的A题而已。。然后想了下,直接输出010101序列不就可以么。交了一发,发现

2014-05-13 00:11:25 1604

原创 ZOJ 3768Continuous Login(找规律然后二分)

Continuous LoginTime Limit: 2 Seconds      Memory Limit: 131072 KB      Special JudgePierre is recently obsessed with an online game. To encourage users to log in, this game will give user

2014-05-11 22:48:03 1467

原创 2014第六届华为创新杯编程大赛初赛解题报告

还是忍不住想吐槽华为,吐槽华为举办的这个比赛。第一场是一星比赛,水题。不过比赛为什么在考试系统上?华为不愧是世界500强企业,招聘考试能走到机试的人数应该在百人左右吧。第一次举办如此大规模 的比赛还是比较紧张,参赛选手要排排队慢慢来。不过交一个题目为什么要等半个多小时才能等到结果啊?搞的人家也好紧张呀。第一题第一题是鸡兔同笼问题,第二题也算是个模拟吧,一星的

2014-05-11 00:28:11 2241 3

原创 hdu 1561The more, The Better(树形dp&01背包)

The more, The BetterTime Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4949    Accepted Submission(s): 2918Problem DescriptionACboy

2014-05-09 13:23:05 1303 4

原创 hdu 1520Anniversary party(简单树形dp)

Anniversary partyTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4310    Accepted Submission(s): 1976Problem DescriptionThere is

2014-05-08 22:46:30 1636

ACM背包问题九讲

ACM背包问题九讲详解背包问题!背包问题是很经典的动态规划一部分。

2014-01-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除