发现自己写的垃圾NTT跑巨慢,原来最大点 1.2s 左右,把定义改为const int mod=998244353 然后冲进 0.5s 了。
const int mod=998244353
?????????