本地和洛谷 IDE 测试均AC,提交TLE?

P3846 [TJOI2007] 可爱的质数/【模板】BSGS

找到问题了
by ForgotDream_CHN @ 2023-04-29 14:08:58


`int mul(int &x,int y){x=x*y%mod;}` 中 `int` 改成 `void`
by ForgotDream_CHN @ 2023-04-29 14:09:22


@[__int128__](/user/525234) [提交记录](https://www.luogu.com.cn/record/109163392)
by ForgotDream_CHN @ 2023-04-29 14:10:22


@[ForgotDream_CHN](/user/750067) 感谢大佬,已过/bx ~~没想到我如此sb~~
by __int128__ @ 2023-04-29 14:58:07


|