| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79628 | 李雨昊 | 13求n加到m的和 | C++ | Wrong Answer | 1 MS | 272 KB | 149 | 2024-07-09 10:33:38 |
#include <iostream> using namespace std; int main(){ int n,m; cin>>n>>m; int a; for(int i=n;i<=m;i++){ a+=i; } cout<<a; }
------Input------
5 13
------Answer-----
81
------Your output-----
4195145