自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 CodeForces 246B: Increase and Decrease【水】

B. Increase and Decreasetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus has an array, consistin

2016-04-30 19:43:10 461

原创 有序线性表的基本操作及实现

#includeusing namespace std;#define OK 1#define ERROR 0#define OVERFLOW -2typedef int Status;typedef int ElemType;#define MAXSIZE 100typedef struct{ ElemType *elem; int lenth;}Sqlist;ty

2016-04-25 22:03:30 1584

原创 HDU 5672:String【模拟】

StringTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 892    Accepted Submission(s): 289Problem DescriptionThere is a string S.S

2016-04-25 22:00:35 405

原创 HDU 5671:Matrix【技巧】

MatrixTime Limit: 3000/1500 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 620    Accepted Submission(s): 259Problem DescriptionThere is a matrix M

2016-04-24 21:33:14 381

原创 HDU 2063:过山车【二分匹配】

过山车Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16961    Accepted Submission(s): 7400Problem DescriptionRPG girls今天和大家一起去游乐场玩

2016-04-22 18:33:40 404

原创 CodeForces 552C:Vanya and Scales【技巧】

C. Vanya and Scalestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya has a scales for weighing loads an

2016-04-21 19:20:17 979

原创 ZZULI 1863: 神の数【模拟】

1863: 神の数Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 285  Solved: 56SubmitStatusWeb BoardDescription有一天,有一个小朋友送给萌萌的韬韬一本书,书的名字叫做《数》,韬韬对于数字有着无比的狂热,一拿到这本书就沉迷于数的世界无法自拔,不久韬韬看到一个数字被称为神の

2016-04-18 17:35:48 389

原创 HDU 5665:Lucky【水】

LuckyTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 304    Accepted Submission(s): 195Problem Description    Chaos August lik

2016-04-18 10:33:34 409

原创 WHU 1604 - Play Apple【博弈】

Problem 1604 - Play AppleTime Limit: 1000MS   Memory Limit: 65536KB   Total Submit: 457  Accepted: 182  Special Judge: NoDescriptionThere are N apples. Two people take turns to either:

2016-04-16 18:18:20 349

原创 有序链表的归并

#includeusing namespace std;typedef struct LNode //定义单链表{ int data; struct LNode *next;}LNode,*LinkList;void InitList_L(LinkList &L) //创建单链表{ L=new LNode; L->next=NULL;}

2016-04-16 13:27:06 591

原创 线性表的基本实现与操作

#includeusing namespace std;#define OK 1#define ERROR 0#define OVERFLOW -2typedef int Status;typedef int ElemType;#define MAXSIZE 100typedef struct{ ElemType *elem; int lenth;}Sqlist;ty

2016-04-16 13:24:32 485

原创 ZZULI 1869: Mathematics and Geometry【数学】

1869: Mathematics and GeometryTime Limit: 1 Sec  Memory Limit: 128 MBSubmit: 204  Solved: 54SubmitStatusWeb BoardDescription给你一个n,求方程 2x + y + 2z = n 解的个数,其中x, y, z, n 都是非负整数Inpu

2016-04-12 21:31:41 408

原创 ZZULI 1864: 炉石传说【数学】

1864: 炉石传说Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 234  Solved: 75SubmitStatusWeb BoardDescription最近韬韬周围的小伙伴们都在玩炉石传说, 感觉好厉害的样子, 可是韬韬早都不玩游戏了呢, 自从入坑ACM之后。“不能没有我的蜡烛”, 韬韬天天都能听到这样的句

2016-04-12 20:33:37 484

原创 HDU 3068:最长回文【回文字符串】

最长回文Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14205    Accepted Submission(s): 5168Problem Description给出一个只由小写英文字符a,b,c...

2016-04-12 19:29:23 474

原创 ZZULI 1861: 斗破苍穹【回文字符串】

1861: 斗破苍穹Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 206  Solved: 47SubmitStatusWeb BoardDescription有一天, 我们帅气的LC来到加玛帝国. 有时候, 缘分就是这么奇怪, LC和加玛帝国的公主一见钟情, 奈何公主的父王不同意, 因为他觉得LC除了长得特别帅之

2016-04-12 19:16:49 668

原创 ZZULI 1867: 礼上往来【错排】

1867: 礼上往来Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 216  Solved: 65SubmitStatusWeb BoardDescription每当节日来临,女友众多的xxx总是能从全国各地的女友那里收到各种礼物。有礼物收到当然值得高兴,但回礼确是件麻烦的事!无论多麻烦,总不好意思收

2016-04-11 12:10:19 406

原创 ZZULI 1868: UP UP UP!【dp】

1868: UP UP UP!Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 69  Solved: 18SubmitStatusWeb BoardDescription题意很简单,给你长度为n的序列,找出有多少个不同的长度为m的严格上升子序列。(PS:相同子序列的定义为,每一个元素对应的下标都相同)Inpu

2016-04-11 11:55:53 389

原创 ZZULI 1870:马拉松后记【枚举】

马拉松后记Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 37  Solved: 13SubmitStatusWeb BoardDescription毛毛雨学姐跑完了半程马拉松,接下来决定去参加山地越野赛了,主办方听说毛毛雨学姐是一位ACMer,就想让她来帮忙解决一下赛场问题:已知在山地越野场地有N座土坡(1大多

2016-04-10 20:50:06 444

原创 HDU 1421:搬寝室【dp】

搬寝室Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23645    Accepted Submission(s): 8078Problem Description搬寝室是很累的,xhd深有体会.时间追述2

2016-04-10 20:27:56 394

原创 WHOJ 1606 - Funny Sheep【水】

Problem 1606 - Funny SheepTime Limit: 1000MS   Memory Limit: 65536KB   Total Submit: 616  Accepted: 172  Special Judge: NoDescriptionThere are N+1 rows and M+1 columns fence with N*M g

2016-04-10 12:59:57 322

原创 WHOJ 1609 - Han Move【细心】

Problem 1609 - Han MoveTime Limit: 1000MS   Memory Limit: 65536KB   Total Submit: 618  Accepted: 160  Special Judge: NoDescriptionCyy and Fzz are Han Move lovers. One day, they gather

2016-04-10 12:27:24 514

原创 WHOJ 1603 - Minimum Sum【思维】

Problem 1603 - Minimum SumTime Limit: 2000MS   Memory Limit: 65536KB   Total Submit: 561  Accepted: 154  Special Judge: NoDescriptionThere are n numbers A[1] , A[2] .... A[n], you can

2016-04-09 21:24:34 460

原创 HYSBZ 1257:余数之和sum【数学】

余数之和sumTime Limit:5000MS     Memory Limit:165888KB     64bit IO Format:%lld & %lluSubmit Status Practice HYSBZ 1257Description给出正整数n和k,计算j(n, k)=k mod 1 + k mod 2 + k mod 3 + … +

2016-04-05 19:31:53 918 11

原创 CodeForces 368B:Sereja and Suffixes【水】

B. Sereja and Suffixestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSereja has an array a, consisting of 

2016-04-05 17:05:17 846

原创 CodeForces 368A:Sereja and Coat Rack【水】

A. Sereja and Coat Racktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSereja owns a restaurant for n peopl

2016-04-05 17:00:58 347

原创 CodeForces 366B:Dima and To-do List【水】

B. Dima and To-do Listtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou helped Dima to have a great weeke

2016-04-05 16:57:43 372

原创 CodeForces 366A:Dima and Guards【水】

A. Dima and Guardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNothing has changed since the last round.

2016-04-05 16:28:42 293

空空如也

空空如也

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

TA关注的人

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