| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158596 | 郦辰希 | 放大的X | C++ | Presentation Error | 78 MS | 272 KB | 412 | 2026-08-22 15:27:27 |
#include<bits/stdc++.h> using namespace std; int main(){ int T,i,j; cin>>T; for(int x=0;x<T;x++){ int n; cin>>n; for(i=0;i<n;i++){ for(j=0;j<n;j++){ if(i==j || i+j==n-1){ cout<<"X"; } else{ cout<<" "; } } cout<<endl; } } return 0; }