上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: D. A Lot of Gamestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrew, Fedor and Alex are inven... 阅读全文
posted @ 2014-08-10 16:09 acvc 阅读(161) 评论(0) 推荐(0) 编辑
摘要: B. Mushroom Scientiststime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you very well know, the... 阅读全文
posted @ 2014-08-08 15:10 acvc 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Room and MoorProblem DescriptionPM Room defines a sequence A = {A1, A2,..., AN}, each of which is either 0 or 1. In order to beat him, programmer Moor... 阅读全文
posted @ 2014-08-07 21:07 acvc 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Problem 2105 Digits CountProblem DescriptionGiven N integers A={A[0],A[1],...,A[N-1]}. Here we have some operations:Operation 1:AND opn L RHere opn, L... 阅读全文
posted @ 2014-08-07 19:50 acvc 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Fighting the LandlordsProblem DescriptionFighting the Landlords is a card game which has been a heat for years in China. The game goes with the 54 pok... 阅读全文
posted @ 2014-08-07 19:35 acvc 阅读(440) 评论(0) 推荐(0) 编辑
摘要: E. Lucky ArrayPetya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the lucky... 阅读全文
posted @ 2014-08-02 22:10 acvc 阅读(367) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3308题意: 两个操作 : 1 修改 单点 a 处的值。 2求出 区间【a,b】内的最长上升子序列。做法:线段树区间合并。了解线段树的具体含义很容易。1//bycaonima2//hehe3#include4#... 阅读全文
posted @ 2014-08-01 18:47 acvc 阅读(169) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3667题意:两个操作 : 1 选出靠左的长度为a的区间。 2 把从 a到a+b的区间清空。线段树区间合并+lazy//bycaonima//hehe#include#include#include#include#includeusingname... 阅读全文
posted @ 2014-08-01 18:45 acvc 阅读(197) 评论(0) 推荐(0) 编辑
摘要: lazy区间修改 :http://acm.hdu.edu.cn/showproblem.php?pid=4902 (hdu4902)http://acm.hdu.edu.cn/showproblem.php?pid=4893 (hdu4902)http://codeforces.com/conte... 阅读全文
posted @ 2014-08-01 14:57 acvc 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Nice boatProblem DescriptionThere is an old country and the king fell in love with a devil. The devil always asks the king to do some crazy things. Al... 阅读全文
posted @ 2014-07-31 21:03 acvc 阅读(776) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页