HBC209439EasyIntegration题解

柳絮泡泡 算法基础篇 57 0
全网最全C++题库,助您快速提升编程技能!题库丰富多样,涵盖各个领域,让您在练习中不断成长!
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.

HBC209439EasyIntegration题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)

标签: HBC209439EasyIntegration题解