提交时间:2025-03-21 16:12:43
运行 ID: 313235
s=0 n=int(input()) for i in range(1,n+1): s+=1/i print("%.3f" % s)