| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75583 | sh25_shenpy | 写个“2” | C++ | 通过 | 0 MS | 252 KB | 347 | 2025-12-07 21:26:11 |
#include <bits/stdc++.h> using namespace std; int main( ) { int x; cin>>x; for(int i=1;i<=x;++i){ cout<<"*";} cout<<endl; for(int j=x-2;j>=1;--j){ for(int k=1;k<=j;++k){ cout<<" "; } cout<<"*"<<endl; } for(int l=1;l<=x;++l){ cout<<"*";} return 0; }