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