Problems Description
<p> <strong>例4.5 </strong> 求s=1 +2 +3……+n,当加到Page 几项时,s的值会超过1000? </p> <p> <br /> </p> <p> <br /> </p>
Input格式
<p> 无输入。 </p> <p> <br /> </p>
Output格式
<p> 一items整数n,表示求和到Page n项。 </p> <p> <br /> </p>
Sample
Sample Input 1
no input needed
Sample Output 1
45
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪