得特判一下g=999911659时答案就是0
(因为欧拉定理要求p与g互质)
by wind_whisper @ 2021-07-23 18:29:20
(你如果解决了能不能帮我看看为什么我卡了点11qwq)
by wind_whisper @ 2021-07-23 18:39:25
《患难与共》
《和谐洛谷》
[求助贴在这里](https://www.luogu.com.cn/discuss/show/332131)
by wind_whisper @ 2021-07-23 18:40:34