【例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.
说明
编一程序求满足不等式 的最小值。
其中,,为正整数。
输入格式
输入。()
输出格式
输出。
样例
3
11
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+21+31+...+n1≥m 的最小n值。
其中,n,m为正整数。
输入m。(m≤11)
输出n。
3
11
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.