自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 问答 (1)
  • 收藏
  • 关注

原创 hdu 5495 Fxx and game(dp+单调队列优化)

bestcoder#89 的第二题……初测过了,终测全部挂掉了…… 本来以为是贪心,后来才发现是dp,要用单调队列维护。 看了学霸的代码,单调队列的模板就借用了╭(╯^╰)╮代码如下:#include <iostream> #include <string> #include <cstring> #include <cstdio> #include <queue> #include <algor

2016-10-30 22:40:29 370

原创 poj 1990 MooFest (树状数组)

MooFestTime Limit: 1000MS Memory Limit: 30000KDescription Every year, Farmer John’s N (1 <= N <= 20,000) cows attend “MooFest”,a social gathering of cows from around the world. MooFest involves

2016-10-16 18:34:36 319

原创 poj 3468 A Simple Problem with Integers

A Simple Problem with IntegersTime Limit: 5000MS Memory Limit: 131072K Case Time Limit: 2000MS这里是题目链接Description You have N integers, A1, A2, … , AN. You need to deal with two kinds of operatio

2016-10-10 20:58:46 288

原创 hdu 1166 敌兵布阵

敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 79154 Accepted Submission(s): 33474戳这里题目链接Problem Description C国的死对头A国这段时间正在进行军事演习,所以C

2016-10-10 00:04:41 279

原创 LightOJ 1085

All Possible Increasing SubsequencesTime Limit: 3000MS Memory Limit: 65536KB 64bit IO Format: %lld & %lluDescription An increasing subsequence from a sequence A1, A2 … An is defined by Ai1

2016-10-09 20:14:46 272

空空如也

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

TA关注的人

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