自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 Codeforces 599C Day at the Beach

题目链接:http://codeforces.com/problemset/problem/599/C题意:给出大小为n的序列,要求将该序列分成连续的若干个部分,每个部分各自升序排序后组成的序列与原序列升序排序后一样,问最多分成几个部分思路: 一开始可以想到要满足max(h1,h2,h3……,hx)max(h1,h2,h3……,hx),所以max[1,x]必定小于max[x

2016-03-10 17:46:28 576

原创 Hdu 2896 病毒侵袭

#include #include #include #include using namespace std;struct Tree{    Tree *Next[100];    Tree *fail;    int ed;}*que[1030];Tree *tree;int top=-1;int stk[1030];ch

2016-03-09 19:09:34 241

原创 Codeforces 593A 2Char

#include #include #include #include using namespace std;int num[30][30],vis[30];char s[100030];int main(){    int n;    while (scanf("%d",&n)!=EOF)    {        int cnt=0,ch

2016-03-09 18:54:57 205

空空如也

空空如也

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

TA关注的人

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