#381. 求n的值

求n的值

No submission language available for this problem.

说明

 输入一个整数m,求恰好使s=1+2+3+…+n的值大于mn的值。

输入 10

输出 5

输入1000

输出45

样例