Given n, find the value of∫01ndxint_{0}^1 ^n mathrm{d} x∫01ndx It can be proved that the value is a rational number pqfrac{p}{q}qp. Print the result as mod998244353 bmod 998244353mod998244353.
Given n, find the value of ∫01(x−x2)ndxint_{0}^1 (x - x^2)^n mathrm{d} x∫01(x−x2)ndx It can be proved that the value is a rational number pqfrac{p}{q}qp. Print the result as (p⋅q−1) mod 998244353(p cdot q^{-1}) bmod 998244353(p⋅q−1)mod998244353.
(图片来源网络,侵删)