
快速幂
文章平均质量分 63
Neiloz
...
展开
-
快速幂,快速幂取模,矩阵快速幂
推荐链接:http://www.cnblogs.com/acbingo/p/4504381.html * http://blog.youkuaiyun.com/lsldd/article/details/5506933* 题目链接:https://vjudge.net/contest/185352 密码:aa12321#include <bits/stdc++.h>using nam原创 2017-09-15 15:07:13 · 345 阅读 · 0 评论 -
POJ 3070 斐波那契数列(矩阵快速幂(版题))
链接:http://poj.org/problem?id=3070Fibonacci Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16351 Accepted: 11470DescriptionIn the Fibonacci integer sequence, F0 = 0, F1 = 1,原创 2017-09-16 08:19:11 · 459 阅读 · 0 评论 -
A - Fantasy of a Summation(打表找规律) LightOJ - 1213
If you think codes, eat codes then sometimes you may get stressed. In your dreams you may see huge codes, as I have seen once. Here is the code I saw in my dream.#include int cases, caseno;i原创 2017-10-22 21:31:20 · 299 阅读 · 0 评论