Run ID:85663

提交时间:2024-07-19 23:10:23

res=0 n=int(input()) for x in range(1,n+1): res+=(x+1)/x print(f"{res:.4f}")