mzq979172779 @ 2017-05-20 10:58:30
var
n:int64;
k:longint;
ans:real;
begin
readln(k);
ans:=1;
for n:=2 to 100000000 do
begin
repeat
ans:=ans+1/n;
until ans>k;
if ans>k then break;
end;
write(n);
end.
by zhoujunbo @ 2017-05-20 11:28:42
writeln!######__>>__
by zhoujunbo @ 2017-05-20 11:29:05
writeln