| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 89052 | sh25_shengmy | 明明的步行 | C++ | 通过 | 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; }