Run ID:163037

提交时间:2026-10-24 11:31:57

#include<bits/stdc++.h> using namespace std; int main(){ int n=1,k; double s=1; cin>>k; while(s<=k){ s+=pow(n+1,-1); n++; } cout<<n; return 0; }