![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
快速幂数学题
abns
这个作者很懒,什么都没留下…
展开
-
51nod 1632 B君的连通
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1632&judgeId=593084 1632 B君的连通 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 收藏 关注 B国拥有n个城市,其交通系统呈树状结构,即任意两个城市存在且仅存在一条交通线将其连接。A国是...原创 2018-08-04 12:22:37 · 164 阅读 · 0 评论 -
2017江西icpc邀请赛 快速幂板子
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int MD=1000000007; int p[5]= {0,1,5,11,36}; struct Matrix { ll a[4][4]; Matrix() { memset(a,0,sizeof(a)); } Matrix...原创 2019-05-04 12:57:26 · 128 阅读 · 0 评论