摘要: 4385: [POI2015]Wilcze doły Description 给定一个长度为n的序列,你有一次机会选中一段连续的长度不超过d的区间,将里面所有数字全部修改为0。请找到最长的一段连续区间,使得该区间内所有数字之和不超过p。 给定一个长度为n的序列,你有一次机会选中一段连续的长度不超过d 阅读全文
posted @ 2016-07-01 20:18 lwq12138 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 3540: [Usaco2014 Open]Fair Photography Description FJ's N cows (2 <= N <= 100,000) are standing at various positions along a long one-dimensional fenc 阅读全文
posted @ 2016-07-01 11:45 lwq12138 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 3312: [Usaco2013 Nov]No Change Description Farmer John is at the market to purchase supplies for his farm. He has in his pocket K coins (1 <= K <= 16) 阅读全文
posted @ 2016-07-01 10:57 lwq12138 阅读(256) 评论(0) 推荐(0) 编辑