摘要: Codeforces Beta Round 17 题目链接: "点击我打开题目链接" 大概题意: 给你 $b$,$n$,$c$. 让你求:$(b)^{n 1} (b 1)\%c$. $2=phi(c)$) 然后这题预处理一下 $phi$就可以解决了。 复杂度:大概是 $sqrt(c) log(c)) 阅读全文
posted @ 2017-10-26 18:57 LzyRapx 阅读(975) 评论(0) 推荐(0) 编辑