
剪枝
Cherry_0525
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【DFS+剪枝】HDU - 5113 B - Black And White
B - Black And White HDU - 5113 In mathematics, the four color theorem, or the four color map theorem, states that, given any separation of a plane into contiguous regions, producing a figure called ...原创 2018-09-20 19:42:28 · 193 阅读 · 0 评论 -
【暴力+剪枝】 2017ICPC 西安 J LOL
UVALive - 8521 5个人,一共有100个英雄,0代表他没有,1代表他有 敌方什么英雄都有 我方和敌方都可以选择五个英雄BAN和PICK,也就是20个英雄不一样 解题方法:枚举出我方前四个人的选择英雄的情况,先预存第五个人的英雄数量,前四个人选的英雄要是我也有,就数量--, 那么我还有几个就是有多少种情况 我方五个人选的英雄的每一种情况都可以*A(95,5)*C(90,...原创 2018-09-26 18:37:26 · 603 阅读 · 1 评论