| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156782 | 赵奕杰 | 数字方阵 | C++ | Accepted | 1 MS | 268 KB | 371 | 2026-07-10 15:53:44 |
#include <iostream> #include <algorithm> // for min function using namespace std; int main() { int n; cin >> n; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { int value = min(min(i, j), min(n - 1 - i, n - 1 - j)) + 1; cout << value << " "; } cout << endl; } return 0; }