0_0_37640355_14387.cpp: In constructor 'constexpr mint<MOD, RT>::mint()':
0_0_37640355_14387.cpp:95:28: error: constexpr constructor does not have empty body
constexpr mint() { v = 0; }
^
0_0_37640355_14387.cpp: In constructor 'constexpr mint<MOD, RT>::mint(ll)':
0_0_37640355_14387.cpp:97:24: error: constexpr constructor does not have empty body
if (v < 0) v += MOD; }
^
0_0_37640355_14387.cpp: In instantiation of 'constexpr mint<MOD, RT>& mint<MOD, RT>::operator*=(const mint<MOD, RT>&) const [with int MOD = 998244353; int RT = 5]':
0_0_37640355_14387.cpp:126:77: required from 'constexpr mint<998244353, 5> operator*(mint<998244353, 5>, const mint<998244353, 5>&)'
0_0_37640355_14387.cpp:173:27: required from here
0_0_37640355_14387.cpp:112:5: error: assignment of member 'mint<998244353, 5>::v' in read-only object
v = int((ll)v * m.v % MOD); return *this; }
^
0_0_37640355_14387.cpp:112:39: error: invalid initialization of reference of type 'mint<998244353, 5>&' from expression of type 'const mint<998244353, 5>'
v = int((ll)v * m.v % MOD); return *this; }
^
0_0_37640355_14387.cpp: In instantiation of 'constexpr mint<MOD, RT>& mint<MOD, RT>::operator+=(const mint<MOD, RT>&) const [with int MOD = 998244353; int RT = 5]':
0_0_37640355_14387.cpp:173:7: required from here
0_0_37640355_14387.cpp:106:10: error: assignment of member 'mint<998244353, 5>::v' in read-only object
if ((v += m.v) >= MOD) v -= MOD;
^
0_0_37640355_14387.cpp:106:28: error: assignment of member 'mint<998244353, 5>::v' in read-only object
if ((v += m.v) >= MOD) v -= MOD;
^
0_0_37640355_14387.cpp:107:11: error: invalid initialization of reference of type 'mint<998244353, 5>&' from expression of type 'const mint<998244353, 5>'
return *this; }
^
0_0_37640355_14387.cpp: In instantiation of 'constexpr mint<MOD, RT>& mint<MOD, RT>::operator-=(const mint<MOD, RT>&) const [with int MOD = 998244353; int RT = 5]':
0_0_37640355_14387.cpp:125:77: required from 'constexpr mint<998244353, 5> operator-(mint<998244353, 5>, const mint<998244353, 5>&)'
0_0_37640355_14387.cpp:147:17: required from 'Combination<M>::Combination(int) [with M = mint<998244353, 5>]'
0_0_37640355_14387.cpp:164:15: required from here
0_0_37640355_14387.cpp:109:10: error: assignment of member 'mint<998244353, 5>::v' in read-only object
if ((v -= m.v) < 0) v += MOD;
^
0_0_37640355_14387.cpp:109:25: error: assignment of member 'mint<998244353, 5>::v' in read-only object
if ((v -= m.v) < 0) v += MOD;
^
0_0_37640355_14387.cpp:110:11: error: invalid initialization of reference of type 'mint<998244353, 5>&' from expression of type 'const mint<998244353, 5>'
return *this; }
^
|