摘要: Problem Description 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它 阅读全文
posted @ 2018-05-24 20:25 霜雪千年 阅读(284) 评论(0) 推荐(0)
摘要: Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Given a n × n matrix A and a positive integer k, f 阅读全文
posted @ 2018-05-24 14:41 霜雪千年 阅读(291) 评论(0) 推荐(0)
摘要: Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci s 阅读全文
posted @ 2018-05-24 06:45 霜雪千年 阅读(183) 评论(0) 推荐(0)