2018年12月16日

bzoj 3157 && bzoj 3516 国王奇遇记——推式子

摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=3157 https://www.lydsy.com/JudgeOnline/problem.php?id=3516 题解:http://blog.miskcoo.com/2014/06/bzoj 阅读全文

posted @ 2018-12-16 20:07 Narh 阅读(278) 评论(0) 推荐(0)

bzoj 1101 [POI2007]Zap——反演

摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=1101 阅读全文

posted @ 2018-12-16 18:55 Narh 阅读(133) 评论(0) 推荐(0)

hdu 4372 Count the Buildings——第一类斯特林数

摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=4372 刨去最高的,剩下的就是 x+y-1 个块。一个块如果已知取哪些数,则最左(右)边是哪个数已经确定,剩下的位置随便排列;其实就是一个圆排列,每个排列从最大元素旁边断成链。 所以就是 n-1 个数分成 x 阅读全文

posted @ 2018-12-16 14:40 Narh 阅读(142) 评论(0) 推荐(0)

导航