| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 69706 | sh25_wangsj | 奇数求和 | C++ | Accepted | 0 MS | 252 KB | 193 | 2025-10-11 16:13:30 |
#include <iostream> using namespace std; int main() { int a,b; cin>>a>>b; double c,d,e; c=a+1-a%2; d=b-1+b%2; e=(c+d)*(d-c+2)/4; cout<<e; return 0; }