求助数位DP

P4317 花神的数论题

$f[i][j]$表示第$i$位填$j$的所有$Sum$的乘积
by 7KByte @ 2020-07-26 17:47:33


大概明白了,指数不能直接%P,要%phi(P)
by 7KByte @ 2020-07-26 18:29:34


@[Inf_Voltage](/user/119261) 我个人觉得根本不需要模那个数吧QAQ 但是您还是要膜的 %%%%%
by ducati @ 2020-11-13 19:56:32


|