Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
90536 | 李谨睿 | 13求n加到m的和 | C++ | Wrong Answer | 1 MS | 276 KB | 176 | 2024-09-15 14:28:28 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m>>n; int a=0; for(int i=n;i<=m;i++){ a=a+i; } cout<<a; return 0; }
------Input------
5 13
------Answer-----
81
------Your output-----
0