#1506. 和超过1000
和超过1000
Description
求s=1 +2 +3……+n,当加到第几项时,s的值会超过1000?
Format
Input
没有输入
Output
输出一个整数,n
Samples
没有输入
自己算
Limitation
1s, 1024KiB for each test case.
统计
相关
在下列比赛中:
求s=1 +2 +3……+n,当加到第几项时,s的值会超过1000?
没有输入
输出一个整数,n
没有输入
自己算
1s, 1024KiB for each test case.