| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 161558 | 王垚植 | 写个"2" | C++ | Accepted | 4 MS | 268 KB | 344 | 2026-10-06 10:42:34 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if (i==0 || i==n-1 || i+j==n-1){ cout<<"*"; } else { cout<<" "; } } cout<<endl; } return 0; }