摘要: 总:忘了快速幂,离散化不熟,读不懂题(其实还是知识点不熟,基础不牢吧) 1.转圈游戏 题目 读题可以发现 0->m m = ( 0+m)%n 1->m+1 m+1 = (m+1)%n ... ... n-m->0 0 = (n-m+m)%n n-m+1->1 1 = (n-m+1+m)%n 哇塞好像 阅读全文
posted @ 2019-11-09 16:41 攒一兜星星* 阅读(175) 评论(0) 推荐(0) 编辑
摘要: oi各类模板集 https://www.luogu.org/paste/h3mzcfo1 https://www.cnblogs.com/phemiku/p/11622062.html 各种模板题 1.快速幂与快速乘 #include <bits/stdc++.h> using namespace 阅读全文
posted @ 2019-11-09 15:24 攒一兜星星* 阅读(184) 评论(0) 推荐(0) 编辑