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