#381. 求n的值
求n的值
No submission language available for this problem.
说明
输入一个整数m,求恰好使s=1+2+3+…+n的值大于m时n的值。
输入 10
输出 5
输入1000
输出45样例
No submission language available for this problem.
输入一个整数m,求恰好使s=1+2+3+…+n的值大于m时n的值。
输入 10
输出 5
输入1000
输出45
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.