提交时间:2026-06-03 19:33:28
运行 ID: 443172
#include <bits/stdc++.h> using namespace std; int main(){ float x,s=0; int i=1; while(s<=x){ s=s+1/i; i++; } cout<<i; return 0; }