| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77562 | sh25_zhangjiajia | 奇数求和 | C++ | Accepted | 1 MS | 240 KB | 227 | 2025-12-26 14:27:13 |
#include <bits/stdc++.h> using namespace std; int main() { int n,m; cin >> m>>n; int tot=0; for(int i = m;i<=n;i++) { if(i%2==1) { tot+=i; } } cout <<tot<<endl; return 0; }