| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75583 | sh25_shenpy | 写个“2” | C++ | Accepted | 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; }