Problem ID:
kntt10_107_vd1
Points:
1 (partial)
Time limit:
1.0s
Memory limit:
512M
Input:
stdin
Output:
stdout
Suggester:
Problem type
Allowed languages
C, C++, Java, Pascal, Perl, Python
Viết chương trình nhập từ bàn phím số tự nhiên ~n~ và in ra kết quả
~S = 1 + \frac{1}{2} + ... + \frac{1}{n}~
Dữ liệu vào
Số tự nhiên ~n~
Dữ liệu ra
Tổng ~S~
Sample Input
4
Sample Output
2.083333333
Comments