Problem D: [Python入门语法]不满足1+2+3+...+x<=n时最小x
Memory Limit:128 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:729
Solved:203
Description
求不满足1+2+3+...+x<=n时最小x
即:1+2+3+...加到什么时候才超过n?
Input
输入n
Output
输出x的最小取值
Sample Input Copy
100
Sample Output Copy
14