| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 83388 | sh25_shengmy | 求和 | C++ | Accepted | 0 MS | 248 KB | 170 | 2026-01-25 20:03:51 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,s=0; cin>>n; for(int i=1;i<=n;i+=2){ s+=i; } cout<<s; return 0; }