05 2018 档案

TZOJ 3709:Number Maze(广搜记录前驱)
摘要:描述 You are playing one game called "Number Maze". The map of an example is shown in the following figure. In the map, there are N*N+2 cells. When the 阅读全文

posted @ 2018-05-10 13:10 大桃桃 阅读(244) 评论(0) 推荐(0)

牛客练习赛17 C 操作数(组合数+逆元)
摘要:给定长度为n的数组a,定义一次操作为: 1. 算出长度为n的数组s,使得si= (a[1] + a[2] + ... + a[i]) mod 1,000,000,007; 2. 执行a = s; 现在问k次操作以后a长什么样。 输入描述: 第一行两个整数n,k(1 <= n <= 2000, 0 < 阅读全文

posted @ 2018-05-05 10:15 大桃桃 阅读(404) 评论(0) 推荐(0)

导航