2015年6月14日

区域覆盖问题经典题目

摘要: 喷水装置(二)时间限制:3000ms | 内存限制:65535KB难度:4描述有一块草坪,横向长w,纵向长为h,在它的橫向中心线上不同位置处装有n(n 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int ... 阅读全文

posted @ 2015-06-14 16:37 Popupo 阅读(688) 评论(0) 推荐(0)

Hubrooooooooooooo

摘要: HubroooooooooooTime Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 318 Accepted Submission(s) : 65Font... 阅读全文

posted @ 2015-06-14 08:30 Popupo 阅读(306) 评论(0) 推荐(0)

分治法求最大连续和。

摘要: 分治法一般分为三个步骤。划分问题:把问题的实例划分为子问题。递归求解:递归解决子问题。合并问题:合并子问题的解得到原问题的解。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 10000... 阅读全文

posted @ 2015-06-14 08:25 Popupo 阅读(208) 评论(0) 推荐(0)

2015年5月19日

UVA253-Cube painting

摘要: Cube paintingWe have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of ... 阅读全文

posted @ 2015-05-19 11:21 Popupo 阅读(278) 评论(1) 推荐(0)

2015年5月15日

HDU1035-Robot Motion

摘要: Robot MotionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7693 Accepted Submission(s): 3513P... 阅读全文

posted @ 2015-05-15 19:52 Popupo 阅读(114) 评论(0) 推荐(0)

导航