```cpp res=res*(p+(ll)a*p-a)/p; ``` 爆了,要先除再乘。 solved。 by RemiliaScar1et @ 2021-03-21 20:59:49
thx。 我调了好久/zhh。 by Lagerent @ 2023-04-26 14:44:36