提交时间:2021-05-21 21:37:52
运行 ID: 19730
#include<iostream> int main(){ float i=1; double a,b=0; scanf("%lf",&a); while(b<=a){ b=1/i+b; i=i+1; } i=i-1; printf("%.0f",i); return 0; } //1410