
数论
Sixoloy_
做一个善良博爱的人
展开
-
sicily 1004.I Conduit!
1004. I Conduit!ConstraintsTime Limit: 3 secs, Memory Limit: 32 MBDescriptionIrv Kenneth Diggit works for a company that excavates trenches, digs holes and generally tears up people'原创 2015-05-26 23:43:02 · 922 阅读 · 0 评论 -
Game
Time Limit: 1sec Memory Limit:256MBDescription As we know, Alice is a lovely little girl in primary school, she has a childhood sweetheart Bob, they often playing game together.Now, th原创 2015-05-11 01:31:09 · 518 阅读 · 1 评论 -
Maximum Absurdity
codeforces B.Maximum Absurdity 解题报告 题目链接:http://codeforces.com/contest/332/problem/B题意:在一个序列中,在所有长度为k的区间里找出两个不重叠的最大和,输出这两个最大和所对应的开头的位置a和b。 一开始没有想到用dp来做,于是有了以下的错误思路(读者可以忽略):声明一个结构体,包括head(保存起始点)、tail(保转载 2015-05-18 00:07:43 · 618 阅读 · 0 评论