随笔分类 -  OJ---HYSBZ(BZOJ)

摘要:Luogu 2590 [ZJOI2008]树的统计 / HYSBZ 1036 [ZJOI2008]树的统计Count (树链剖分,LCA,线段树) Description 一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。我们将以下面的形式来要求你对这棵树完成一些操作: I. CHANG 阅读全文
posted @ 2017-10-05 14:29 SYCstudio 阅读(435) 评论(0) 推荐(0)
摘要:HDU 1029 Ignatius and the Princess IV (思维题,~~排序?~~) Description "OK, you are not too bad, em... But you can never pass the next test." feng5166 says. 阅读全文
posted @ 2017-08-23 20:15 SYCstudio 阅读(937) 评论(9) 推荐(0)
摘要:POJ 2711 Leapin' Lizards / HDU 2732 Leapin' Lizards / BZOJ 1066 [SCOI2007]蜥蜴(网络流,最大流) Description Your platoon of wandering lizards has entered a stra 阅读全文
posted @ 2017-08-18 17:07 SYCstudio 阅读(328) 评论(0) 推荐(0)
摘要:Luogu 2469 [SDOI2010]星际竞速 / HYSBZ 1927 [Sdoi2010]星际竞速 (网络流,最小费用流) Description 10年一度的银河系赛车大赛又要开始了。作为全银河最盛大的活动之一,夺得这个项目的冠军无疑是很多人的梦想,来自杰森座α星的悠悠也是其中之一。赛车大 阅读全文
posted @ 2017-07-31 19:59 SYCstudio 阅读(432) 评论(0) 推荐(2)
摘要:HYSBZ(BZOJ) 4300 绝世好题(位运算,递推) Description 给定一个长度为n的数列ai,求ai的子序列bi的最长长度,满足bi&bi 1!=0(2 include include include include using namespace std; const int m 阅读全文
posted @ 2017-07-19 16:05 SYCstudio 阅读(419) 评论(0) 推荐(0)
摘要:CJOJ 1331 【HNOI2011】数学作业 / Luogu 3216 【HNOI2011】数学作业 / HYSBZ 2326 数学作业(递推,矩阵) Description 小 C 数学成绩优异,于是老师给小 C 留了一道非常难的数学作业题: 给定正整数 N 和 M,要求计算 Concaten 阅读全文
posted @ 2017-07-15 14:36 SYCstudio 阅读(474) 评论(0) 推荐(2)