摘要: Some days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big number with it. Bu 阅读全文
posted @ 2017-08-21 16:49 Crutain 阅读(212) 评论(0) 推荐(0)
摘要: 题目就不贴了。都是一样的套路求解a^x % c = b的最小x 注意HDU的题目很坑,有b比c大和题目中输出信息为全角引号的坑 下面贴的是HDU的版本,poj的改一下a,b,c顺序和输出就好 #include <iostream> #include <cstring> #include <algor 阅读全文
posted @ 2017-08-21 13:55 Crutain 阅读(144) 评论(0) 推荐(0)