样例过水???2026-10-11 09:47:20发布于:广东0阅读0回复0点赞望加强样例 #include<iostream> using namespace std; int n; int main(){ cin>>n; if(n==2)cout<<"1 2\n2 1"; else cout<<"1 2 3\n1 3 2\n2 1 3\n2 3 1\n3 1 2\n3 2 1"; return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个