-->
当前位置:首页 > 题库 > 正文内容

编程题:s=1+2+3+... +n until s>=m

Luz3年前 (2021-05-10)题库281
s=1+2+3+... +n, stop the operation when s is greater than the given number. Find the value of n and s

### Input format:

### Output format:

### sample input:


```in
1000
```

### sample output:


```out
1035=1+2+...+45
```






答案:若无答案欢迎评论

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。