提交时间:2025-03-14 16:42:47
运行 ID: 312413
s=0 n=int(input()) for i in range(1,n+1): s+=1/i print(format(s,'.3f'))