随笔分类 -  线段树

摘要:Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your task is counting the segmen... 阅读全文
posted @ 2015-11-11 19:58 啦咯 阅读(152) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1698Problem DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thing for most o... 阅读全文
posted @ 2015-11-11 18:47 啦咯 阅读(523) 评论(0) 推荐(0) 编辑
摘要:The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all pl... 阅读全文
posted @ 2015-11-11 17:01 啦咯 阅读(193) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each ... 阅读全文
posted @ 2015-11-10 16:39 啦咯 阅读(119) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示