Run ID:164484

提交时间:2026-11-03 20:26:55

#include<bits/stdc++.h> using namespace std; int main(){ double s=0; for (int i=1;i<=100;i++){ s=s+1.0/i; } cout<<fixed<<setprecision(3)<<s; return 0; }