#include<iostream> using namespace std; int main() { int k,n=0; float sn=0; cin>>k; while (sn<=k){ n++; sn+=(float)1/n; } cout<<n; return 0; }
求各位大佬看看为什么才60分