| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62337 | 廖宸睿 | 13求n加到m的和 | C++ | Wrong Answer | 1 MS | 272 KB | 193 | 2023-12-23 14:18:13 |
#include <iostream> using namespace std; int main() { int n,m,x,y; cin>>x>>m; for(n=x;n<=m;n++){ x=x+n;} cout<<x-1; return 0; }
------Input------
5 13
------Answer-----
81
------Your output-----
85