| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 431804 | 方相宜 | [GESP202309 二级] 小杨的 X 字矩阵 | Python3 | 编译错误 | 0 | 0 MS | 0 KB | 367 | 2026-03-12 19:20:46 |
#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 ==j || i + j == n - 1) { cout << "+"; } else { cout << "-"; } } cout << endl; } return 0; }