51nod上讨论里会有题解..不管它先口胡好了..
51nod上似乎都是原题..或者模板题..感觉它还是挺byf的..
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1226
对于某个形式的素数这类题目大多数是可以筛的..
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1237
感觉就是个杜教筛
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1245
Kummer's Theorem + 数位dp
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1227
感觉也是个杜教筛
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1149
对每个形如t-k*pi的叶子计算贡献就好了吧..
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1030
转换为十进制就在十进制下evaluate那个36进制数,具体的分治一下.nlogn
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1039
似乎可以tonelli shanks扩展一下搞搞..我没想清楚
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1162
spoj题啊..因为是经典问题
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1145
fib mod 10n的循环节长度是O(10n)的,我记得是到后面每次乘10,这样我们就从小到大按位枚举
https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1111
想了半天(十分钟),感觉只会MIM啊..一看标签mdzz..
算了做51nod简直太羞耻了- -