全部评论 3

  • 复制粘贴即可

    2026-08-02 来自 浙江

    0
  • 666,给你一个升级版,可以关注我(最好是关注大号)

    #include<bits/stdc++.h>
    int main() {
    int n;stdcin>>n;
    if(n==2){
    std
    cout<<"1 2 "<<stdendl;
    std
    cout<<"2 1 "<<stdendl;
    }
    else{
    std
    cout<<"1 2 3 "<<stdendl;
    std
    cout<<"1 3 2 "<<stdendl;
    std
    cout<<"2 1 3 "<<stdendl;
    std
    cout<<"2 3 1 "<<stdendl;
    std
    cout<<"3 1 2 "<<stdendl;
    std
    cout<<"3 2 1 "<<std::endl;
    }
    }

    2026-08-02 来自 浙江

    0
暂无数据

提交答案之后,这里将显示提交结果~

首页