Type: Default 1000ms 256MiB

【例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

【周六9:00】暑假作业

Not Claimed
Status
Done
Problem
19
Open Since
2024-7-20 0:00
Deadline
2024-8-25 23:59
Extension
24 hour(s)