| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 68159 | 陈路垚 | 放大的X | C++ | Accepted | 100 | 10 MS | 256 KB | 290 | 2023-02-02 16:20:02 |
#include<bits/stdc++.h> using namespace std; int main(){ int t,n; cin>>n; for(int i=1;i<=n;i++){ cin>>t; for(int j=1;j<=t;j++){ for(int k=1;k<=t;k++){ if((k==j)||(j+k==t+1)) cout<<"X"; else cout<<" "; } cout<<endl; } cout<<endl; } return 0; }