| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158586 | 林睿 | 放大的X | Python3 | Compile Error | 0 MS | 0 KB | 447 | 2026-08-22 15:23:23 |
#include<bits/stdc++.h> using namespace std; int main() { int T, n; cin >> T; while (T--) { cin >> n; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (j == i || j == n - 1 - i) cout << 'X'; else cout << ' '; } cout << "\n"; } cout << "\n"; } return 0; }
File "Main.py", line 2
using namespace std;
^
SyntaxError: invalid syntax