Run ID:148833

提交时间:2026-03-01 18:55:02

#include<bits/stdc++.h> using namespace std; int main() { int m; cin>>m; double sum=0; int n=0; while(sum<m){ n++; sum+=1.0/n; } cout<<n<<endl; return 0; }