为什么会因为加了模RE

P3953 [NOIP2017 提高组] 逛公园

@[axwg020226](/space/show?uid=19132) 您能确定只有这一点差异吗?
by ztz11 @ 2018-07-17 10:28:15


@[ztz11](/space/show?uid=52176) 就改了这里
by axwg020226 @ 2018-07-17 10:29:16


我怀疑可能ans+dp[k][n]已经爆int了(p不是给定的吗?)
by ztz11 @ 2018-07-17 10:30:10


@[axwg020226](/space/show?uid=19132)
by ztz11 @ 2018-07-17 10:30:57


我用longlong也炸
by axwg020226 @ 2018-07-17 10:31:10


https://www.luogu.org/record/show?rid=8550430 https://www.luogu.org/record/show?rid=8550122
by axwg020226 @ 2018-07-17 10:31:14


@[ztz11](/space/show?uid=52176)
by axwg020226 @ 2018-07-17 10:34:01


- ans=ans%P;可以过 - ans%=P;就炸了???
by axwg020226 @ 2018-07-17 10:38:58


@[axwg020226](/space/show?uid=19132) 等一下,我看看
by ztz11 @ 2018-07-17 11:22:38


|