#Y163. 【例27.3】 第几项
【例27.3】 第几项
说明
对于正整数,,求,当加到第几项时,的值会超过?
输入格式
输入。()
输出格式
输出。
样例
1000
45
Statistics
Related
In following contests:
In following homework:
对于正整数n,m,求s=1+2+3……+n,当加到第几项时,s的值会超过m?
输入m。(1≤m≤40000)
输出n。
1000
45
In following contests:
In following homework:
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.