Ilovehumour_fz @ 2024-06-09 21:11:12
【数据范围】
by renzhanwen @ 2024-06-09 21:20:05
水题中的水题,不用打表,还是做做更快!!!
by ToastBread @ 2024-06-09 21:30:57
@liyexuan 可以这样,但是wyy,jbl。
by Ilovehumour_fz @ 2024-06-10 15:33:37
@syex_renzhanwen 咋做?
by renzhanwen @ 2024-06-11 17:56:47
@liyexuan 这是我的代码:
#include<bits/stdc++.h>
using namespace std;
double k,m,n;
int main()
{
cin>>k;
while(m<=k)
{
n++;
m+=1/n;
}
cout<<n;
return 0;
}
by Ilovehumour_fz @ 2024-06-15 11:02:44
@syex_renzhanwen
确实