![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
文章平均质量分 78
元素不会背元素周期表
U don't have to say I love U to say I love you.
展开
-
The Two Routes CodeForces - 602C
In Absurdistan, there are n towns (numbered 1 through n) and m bidirectional railways. There is also an absurdly simple road network — for each pair of different towns x and y, there is a bidirectiona原创 2017-10-23 17:31:40 · 173 阅读 · 0 评论 -
51Nod - 1242 斐波那契数列的第N项 矩阵快速幂
矩阵相乘(百度图片)斐波那契数列的定义如下:F(0) = 0F(1) = 1F(n) = F(n - 1) + F(n - 2) (n >= 2)(1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, ...)给出n,求F(n),由于结果很大,输出F(n) % 1000000009的结果即可。Input输入1个数n(1 <= n &l...原创 2018-03-27 21:08:42 · 136 阅读 · 0 评论 -
Game HDU - 5011
异或运算 Here is a game for two players. The rule of the game is described below: ● In the beginning of the game, there are a lot of piles of beads. ● Players take turns to play. Each turn, player ch...原创 2018-04-16 16:19:29 · 225 阅读 · 0 评论