正文
增加 4 行删除 4 行
32 行未改动333435363738394041424344454647484910 行未改动32 行未改动```cpp line-numbersstruct Int {int val;Int(int x = 0) : val(x) {}inline Int operator + (const Int &rhs) const {return (1LL * val + rhs.val) % mod;}inline Int operator - (const Int &rhs) const {return (1LL * val - rhs.val + mod) % mod;}inline Int operator * (const Int &rhs) const {return 1LL * val * rhs.val % mod;}};```10 行未改动32 行未改动333435363738394041424344454647484910 行未改动32 行未改动```cpp line-numbersstruct Int {int val;Int(int x = 0) : val((x % mod + mod) % mod) {}inline Int operator + (const Int &rhs) const {return (1ll * val + rhs.val) % mod;}inline Int operator - (const Int &rhs) const {return (1ll * val - rhs.val + mod) % mod;}inline Int operator * (const Int &rhs) const {return 1ll * val * rhs.val % mod;}};```10 行未改动