#include<iostream> using namespace std; int main() { int n; cin >> n; if (n==3) { cout << " 1 2 6" << endl; cout << " 3 5 7" << endl; cout << " 4 8 9" << endl; } return 0; }
注册一个 核OJ_核桃编程 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 核OJ_核桃编程 通用账户