| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75626 | sh25_zhuwy | 写个“2” | C++ | Accepted | 0 MS | 248 KB | 388 | 2025-12-08 18:52:01 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int m=n-2; for(int i=1;i<=n;i++) { cout<<"*"; } cout<<endl; for(int j=m;j>=1;j--) { for(int i=1;i<=j;i++) { cout<<" "; } cout<<"*"<<endl; } for(int i=1;i<=n;i++) { cout<<"*"; } return 0; }