摘要:
1079: [SCOI2008]着色方案Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1079Description有n个木块排成一行,从左到右依次编号为1~n。你有...
阅读全文
posted @ 2015-11-05 22:24
qscqesze
阅读(341)
推荐(0)
摘要:
1051: [HAOI2006]受欢迎的牛Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1051Description每一头牛的愿望就是变成一头最受欢迎的牛。现在有N...
阅读全文
posted @ 2015-11-05 21:59
qscqesze
阅读(232)
推荐(0)
摘要:
B. Anton and LinesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/593/problem/BDescriptionThe teacher gave Anton a large geome...
阅读全文
posted @ 2015-11-05 09:54
qscqesze
阅读(264)
推荐(0)
摘要:
A. 2CharTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/593/problem/ADescriptionAndrew often reads articles in his favorite ma...
阅读全文
posted @ 2015-11-05 09:50
qscqesze
阅读(333)
推荐(0)
摘要:
D. Happy Tree PartyTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/593/problem/DDescriptionBogdan has a birthday today and mom...
阅读全文
posted @ 2015-11-05 09:47
qscqesze
阅读(644)
推荐(0)
摘要:
3555: [Ctsc2014]企鹅QQTime Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=3555DescriptionPenguinQQ是中国最大、最具影响力的SNS(...
阅读全文
posted @ 2015-11-04 18:15
qscqesze
阅读(507)
推荐(0)
摘要:
4300: 绝世好题Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=4300Description给定一个长度为n的数列ai,求ai的子序列bi的最长长度,满足bi&b...
阅读全文
posted @ 2015-11-04 16:50
qscqesze
阅读(276)
推荐(1)
摘要:
C. Graph ReconstructionTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/329/problem/CDescriptionI have an undirected graph cons...
阅读全文
posted @ 2015-11-04 12:35
qscqesze
阅读(286)
推荐(0)
摘要:
B. Biridian ForestTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/329/problem/BDescriptionYou're a mikemon breeder currently i...
阅读全文
posted @ 2015-11-04 12:04
qscqesze
阅读(436)
推荐(0)
摘要:
A. PurificationTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/329/problem/ADescriptionYou are an adventurer currently journey...
阅读全文
posted @ 2015-11-04 11:41
qscqesze
阅读(226)
推荐(0)
摘要:
FrogsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5514DescriptionThere are m stones lying on a circle, and n fr...
阅读全文
posted @ 2015-11-03 18:04
qscqesze
阅读(2529)
推荐(5)
摘要:
Game of Flying CircusTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5515DescriptionThe discovery of anti-gravitat...
阅读全文
posted @ 2015-11-02 23:26
qscqesze
阅读(1302)
推荐(0)
摘要:
MeetingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5521DescriptionBessie and her friend Elsie decide to have a...
阅读全文
posted @ 2015-11-02 16:09
qscqesze
阅读(367)
推荐(0)
摘要:
BazingaTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5510DescriptionLadies and gentlemen, please sit up straight...
阅读全文
posted @ 2015-11-02 13:52
qscqesze
阅读(1064)
推荐(0)
摘要:
MeetingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5512Descriptionn pagodas were standing erect in Hong Jue Si...
阅读全文
posted @ 2015-11-02 13:38
qscqesze
阅读(314)
推荐(0)
摘要:
#142. 【UER #5】万圣节的南瓜灯Time Limit: 20 SecMemory Limit: 256 MB题目连接http://uoj.ac/problem/142Description红包是一个心灵手巧的男孩子。今天是万圣节,红包正在家里制作南瓜灯。这时候一群熊孩子们敲开了红包家的门,...
阅读全文
posted @ 2015-11-02 11:01
qscqesze
阅读(373)
推荐(1)
摘要:
NumbersTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5522Description给n个数A1,A2....An{A}_{1},{A}_{2}....{A}_{n}A1...
阅读全文
posted @ 2015-11-01 17:01
qscqesze
阅读(358)
推荐(0)
摘要:
D. Super MTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/592/problem/DDescriptionAri the monster is not an ordinary monster. ...
阅读全文
posted @ 2015-11-01 16:16
qscqesze
阅读(349)
推荐(1)
摘要:
C. The Big RaceTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/592/problem/CDescriptionVector Willman and Array Bolt are the t...
阅读全文
posted @ 2015-11-01 15:24
qscqesze
阅读(558)
推荐(1)
摘要:
B. The Monster and the SquirrelTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/592/problem/BDescriptionAri the monster always ...
阅读全文
posted @ 2015-11-01 14:50
qscqesze
阅读(592)
推荐(0)
摘要:
A. PawnChessTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/592/problem/ADescriptionGalois is one of the strongest chess playe...
阅读全文
posted @ 2015-11-01 14:40
qscqesze
阅读(288)
推荐(0)
摘要:
Bob’s RaceTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4123Description Bob wants to hold a race to encourage pe...
阅读全文
posted @ 2015-10-29 16:34
qscqesze
阅读(419)
推荐(0)
摘要:
Alice's mooncake shopTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4122Description The Mid-Autumn Festival, also...
阅读全文
posted @ 2015-10-28 21:40
qscqesze
阅读(698)
推荐(2)
摘要:
A.Xiangqi模拟题,给你一个象棋棋盘,问你黑方 ……http://www.cnblogs.com/qscqesze/p/4918284.htmlB.Alice's mooncake shop单调队列优化dp就好了http://www.cnblogs.com/qscqesze/p/4918773...
阅读全文
posted @ 2015-10-28 18:53
qscqesze
阅读(233)
推荐(0)
摘要:
XiangqiTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4121DescriptionXiangqi is one of the most popular two-playe...
阅读全文
posted @ 2015-10-28 18:49
qscqesze
阅读(727)
推荐(1)
摘要:
C. LetterTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/180/problem/CDescriptionPatrick has just finished writing a message t...
阅读全文
posted @ 2015-10-28 17:07
qscqesze
阅读(426)
推荐(0)
摘要:
D. The Child and SequenceTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/438/problem/DDescriptionAt the children's day, the ch...
阅读全文
posted @ 2015-10-28 13:55
qscqesze
阅读(215)
推荐(0)
摘要:
B. The Child and ZooTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/438/problem/BDescriptionOf course our child likes walking ...
阅读全文
posted @ 2015-10-28 13:23
qscqesze
阅读(321)
推荐(0)
摘要:
A. The Child and ToyTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/438/problem/ADescriptionOn Children's Day, the child got a...
阅读全文
posted @ 2015-10-28 12:59
qscqesze
阅读(240)
推荐(0)
摘要:
E. Three StatesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/591/problem/EDescriptionThe famous global economic crisis is ap...
阅读全文
posted @ 2015-10-26 13:17
qscqesze
阅读(307)
推荐(0)
摘要:
D. Chip 'n Dale Rescue RangersTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/591/problem/DDescriptionA team of furry rescue r...
阅读全文
posted @ 2015-10-26 09:11
qscqesze
阅读(418)
推荐(0)
摘要:
C. Median SmoothingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/591/problem/CDescriptionA schoolboy named Vasya loves readi...
阅读全文
posted @ 2015-10-26 09:01
qscqesze
阅读(716)
推荐(0)
摘要:
B. RebrandingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/591/problem/BDescriptionThe name of one small but proud corporati...
阅读全文
posted @ 2015-10-26 08:49
qscqesze
阅读(330)
推荐(0)
摘要:
A. Wizards' DuelTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/591/problem/ADescriptionHarry Potter and He-Who-Must-Not-Be-Na...
阅读全文
posted @ 2015-10-26 08:39
qscqesze
阅读(257)
推荐(0)
摘要:
E. LIS of SequenceTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/486/problem/EDescriptionThe next "Data Structures and Algori...
阅读全文
posted @ 2015-10-25 13:50
qscqesze
阅读(317)
推荐(0)
摘要:
D. Valid SetsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/486/problem/DDescriptionAs you know, an undirected connected grap...
阅读全文
posted @ 2015-10-25 13:45
qscqesze
阅读(162)
推荐(0)
摘要:
B. OR in MatrixTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/486/problem/BDescriptionLet's define logical OR as an operation...
阅读全文
posted @ 2015-10-25 13:40
qscqesze
阅读(259)
推荐(0)
摘要:
A. Calculating FunctionTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/486/problem/ADescriptionFor a positive integer n let's ...
阅读全文
posted @ 2015-10-25 13:30
qscqesze
阅读(269)
推荐(0)
摘要:
A. Calculating Function水题,分奇数偶数处理一下就好了#include#includeusing namespace std;int main(){ long long n;scanf("%lld",&n); if(n%2==1) printf("%lld\n",(...
阅读全文
posted @ 2015-10-25 13:19
qscqesze
阅读(236)
推荐(0)
摘要:
## fread读入挂 const int BUF=40000000; char Buf[BUF],*buf=Buf; const int OUT=20000000; char Out[OUT],*ou=Out;int Outn[30],Outcnt; inline void write(int x
阅读全文
posted @ 2015-10-24 20:07
qscqesze
阅读(1048)
推荐(0)