| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20213 | 陈路垚 | 印度国王的棋盘 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 206 | 2021-06-05 19:46:11 |
#include<bits/stdc++.h> using namespace std; int main(){ int k,m; long long ans; cin>>k>>m; for(int i=k;i<=m;i++){ ans+=2*i-1; } if(ans/10000!=0) cout<<ans; else cout<<ans; return 0; }