#Lutece0708. Improper Integral
Improper Integral
Migrated from Lutece 708 Improper Integral
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
In advanced mathematics, Improper integral is a problem that is so hard to solve!But thanks to computer programming, we can solve these problems in the given precision easily. Today, Small Qiang is facing a simple and common improper integral problem, which asks him to determine the cumulative distribution function of normal distribution defined below:
$\phi(x)=F(x;0,1)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{x}e^{-\frac{x^2}{2}}\mathrm dx$
But Small Qiang is busy playing basketball, so he is asking you for help!Please determine with a given .
Input
In the first line, there is one integer ().
In the following lines, each contains one real number ().
Output
For each , output a real number which keeps to five decimal places.
Samples
1
0.0
0.50000
Resources
The 7th BUPT Collegiate Programming Contest