| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83731 | sh25_huangse | 明明的步行 | C++ | 通过 | 0 MS | 252 KB | 220 | 2026-02-01 19:56:34 |
#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; }