摘要: 学习资料:https://blog.csdn.net/sentimental_dog/article/details/52002608 注意最后一行需要让res/a*(a-1) 因为a本身是可以模a的,但i*i<=a,所以没有枚举到a本身 例题一:http://codeforces.com/gym/ 阅读全文
posted @ 2018-04-24 08:54 czh~ 阅读(139) 评论(0) 推荐(0) 编辑