#6102. 【例27.3】 第几项
【例27.3】 第几项
Description
对于正整数,,求,当加到第几项时,的值会超过?
Input Format
输入。()
Output Format
输出。
1000
45
对于正整数n,m,求s=1+2+3……+n,当加到第几项时,s的值会超过m?
输入m。(1≤m≤40000)
输出n。
1000
45
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.