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)

导航