| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158592 | 王垚植 | 放大的X | C++ | Accepted | 59 MS | 268 KB | 423 | 2026-08-22 15:26:12 |
#include<bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; for (int x=0;x<T;x++){ int n; cin>>n; for (int i=0;i<n;i++){ for (int j=0;j<n;j++){ if (i==j || i+j+1==n){ cout<<"X"; } else{ cout<<" "; } } cout<<endl; } cout<<endl; } return 0; }