AshidaMana @ 2015-08-11 21:38:47
#include<iostream>
using namespace std;
int main()
{
int k,n;
double s=0.0;
cin>>k;
for(n=1;s<=n;n++)
s=s+1.0/n;
cout<<n-1;
return 0;
}
by AshidaMana @ 2015-08-11 21:41:09
没事,我眼花看错字母了。。。。