#P4526. 【模板】自适应辛普森法 2
【模板】自适应辛普森法 2
Description
Compute the integral
$\displaystyle{\int_0^\infty x^{\frac{a}{x}-x}\mathrm{d}x}$
Keep digits after the decimal point. If the integral diverges, output .
Input Format
One line containing a real number, the value of .
Output Format
One line: the integral value or .
2.33
1.51068
Hint
.
Please pay attention to the time and memory limits.
Translated by ChatGPT 5
京公网安备 11011102002149号