大数模板mod int

# 大数模板,存档一下 ```cpp template struct mod_int{ ll x; mod_int(ll x = 0):x((x % M + M) % M){} mod_int operator + (mod_int b) const {return mod_int((x + b.x
posted @ 2023-06-10 13:23  tiany7  阅读(9)  评论(0编辑  收藏  举报