| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 89052 | sh25_shengmy | 明明的步行 | C++ | Accepted | 0 MS | 248 KB | 220 | 2026-05-22 15:02:51 |
#include<iostream> using namespace std; int main(){ int first; cin>>first; int total=0; while(first>0){ total=total+first; first=first-1; } cout<<total; return 0; }