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简直太羞耻了- -

相关文章:

  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-02-23
  • 2021-05-27
  • 2021-07-15
  • 2021-12-24
猜你喜欢
  • 2021-08-24
  • 2021-06-27
  • 2022-12-23
  • 2021-06-10
  • 2021-12-19
  • 2022-03-03
  • 2021-12-10
相关资源
相似解决方案