含水题解(不建议学习)
2025-08-14 10:48:18
发布于:上海
9阅读
0回复
0点赞
#include<iostream>
using namespace std;
int n;
int main(){
cin >> n;
if(n == 3){
cout << "1 2 3" << endl;
cout << "1 3 2" << endl;
cout << "2 1 3" << endl;
cout << "2 3 1" << endl;
cout << "3 1 2" << endl;
cout << "3 2 1";
}else{
cout << "1 2" << endl;
cout << "2 1";
}
return 0;
}
全部评论 2
666,避开测试点了吗?
2025-09-21 来自 上海
0留个免费的赞再走吧
2025-08-14 来自 上海
0












有帮助,赞一个