摘要: 求两类权值和的商最大的生成树 阅读全文
posted @ 2020-08-04 23:15 no_proper_name_left 阅读(148) 评论(0) 推荐(0) 编辑
摘要: USACO2020 JAN Gold T3 阅读全文
posted @ 2020-08-01 19:42 no_proper_name_left 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 从CSDN搬运来啦23333 阅读全文
posted @ 2020-04-07 18:33 no_proper_name_left 阅读(147) 评论(1) 推荐(0) 编辑
摘要: 一种简单优秀的平衡树 阅读全文
posted @ 2020-02-26 11:53 no_proper_name_left 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 段椰叶红薯大赛T4 阅读全文
posted @ 2019-11-13 23:07 no_proper_name_left 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 有m种纸牌点数分别为1~m,每种有无穷多张。 有n个人站成一列,给每个人发一张牌。求满足任意相邻两人牌的点数不为k的分发方案有多少。答案对1e9+7取模。 分类讨论,fif_ifi​表示前i个人的方案数,aia_iai​表示第i张牌满足点数<k时的方案数,bib_ibi​表示第i张牌满足>=k时的方 阅读全文
posted @ 2019-11-13 22:47 no_proper_name_left 阅读(184) 评论(0) 推荐(0) 编辑
摘要: USACO2018 DEC Silver T1 阅读全文
posted @ 2018-12-18 00:34 no_proper_name_left 阅读(217) 评论(0) 推荐(0) 编辑
摘要: gcd&&exgcd 阅读全文
posted @ 2018-10-28 15:44 no_proper_name_left 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 简单的DP题 阅读全文
posted @ 2018-07-17 10:05 no_proper_name_left 阅读(138) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示