
组合数学
文章平均质量分 81
LL_Sagiri
这个作者很懒,什么都没留下…
展开
-
51nod1627 瞬间移动
1627 瞬间移动 基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 收藏 关注有一个无限大的矩形,初始时你在左上角(即第一行第一列),每次你都可以选择一个右下方格子,并瞬移过去(如从下图中的红色格子能直接瞬移到蓝色格子),求到第n行第m列的格子有几种方案,答案对1000000007取模。Input单组测试数据。两个整数n,m(2<=n,m<=100...原创 2018-05-05 00:49:28 · 306 阅读 · 0 评论 -
topcoder10702 TheHexagonsDivOne
Problem Statement John and Brus are interested in a new game called "Hexagon Flower". The rules are simple. You are given a flower formed by seven hexagons arranged as follows: The objective of the g...转载 2018-05-31 16:33:11 · 283 阅读 · 0 评论