#B. 【例27.2】 最小n值

    Type: Default 1000ms 64MiB

【例27.2】 最小n值

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

编一程序求满足不等式1+12+13+...+1nm1+\frac{1}{2}+\frac{1}{3}+...+\frac{1}{n}\ge m  的最小nn值。
其中,nn,mm为正整数。

输入格式

输入mm。(m11m\le 11)

输出格式

输出nn

样例

3
11

六上二 while

Not Claimed
Status
Done
Problem
5
Open Since
2023-4-29 0:00
Deadline
2023-5-16 23:59
Extension
24 hour(s)