Python #1
Contest Problems
Problem Tasks
# | Date | State |
---|
Not Contest
# | Date | State |
---|
C. Ifoda
Time limit : 1000 ms
Memory limit : 128 mb
Sizga n soni berilgan.
$\frac{(1 + 2 + 3 + ... + n)}{(1 * 2 * ... * n)}$ ni hisoblang.
Kiruvchi ma’lumotlar
Birinchi qatorda 1 ta natural son $n(1 \le n \le 10)$.
Chiquvchi ma’lumotlar
Yagona qatorda masala yechimini chiqaring. Javobni $10^{-2}$ aniqlikda chiqaring.
Input |
---|
1 |
Output |
1.00 |
Input |
---|
2 |
Output |
1.50 |
Input |
---|
3 |
Output |
1.00 |