| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 105051 | 凉穿西 | 区域划分问题 | C++ | Accepted | 100 | 0 MS | 244 KB | 214 | 2023-10-05 09:13:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m; scanf("%d %d",&n,&m); int sum =0; sum += m*2; for(int i = m+1;i <= n;i++){ sum+=i; } printf("%d",sum); return 0; }