0_0_39454459_29334.cpp: In function 'int main()':
0_0_39454459_29334.cpp:286:23: error: no match for 'operator%=' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<MInt<998244353> >, MInt<998244353> >::value_type' {aka 'MInt<998244353>'} and 'const i64' {aka 'const long long int'})
286 | a[f[i][j]]%=mod1;
|