acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 题解

    userId_undefined

    法兰西玫瑰

    倔强青铜
    52阅读
    0回复
    3点赞
  • 题解(绝对AC)

    自己看吧

    userId_undefined

    复仇者_纳西妲厨一位

    秩序白银
    13阅读
    1回复
    1点赞
  • 题解

    userId_undefined

    majmDZB

    倔强青铜
    5阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    zsy

    秩序白银
    4阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    准

    倔强青铜
    5阅读
    1回复
    0点赞
  • 题解

    #include <bits/stdc++.h> using namespace std; int main(){ string s1,s2; cin>>s1>>s2; if(s1<s2) cout<<s1<<" "<<s2<<endl; else if(s1>s2) cout<<s2<<" "<<s1<<endl; else cout<<s1<<endl; return 0; }

    userId_undefined

    Voldemort

    倔强青铜
    4阅读
    0回复
    0点赞
  • aaaaa

    userId_undefined

    JMZ詹总

    倔强青铜
    3阅读
    0回复
    0点赞
  • 题解

    #include <bits/stdc++.h> using namespace std; int main(){ string a,b; cin>>a>>b; if(a<b){ cout<<a<<" "<<b; }else if(a>b){ cout<<b<<" "<<a; }else if(a==b){ cout<<a; } return 0; }

    userId_undefined

    张高纶

    倔强青铜
    1阅读
    0回复
    0点赞
  • 不正经题解,但极简单

    #include<bits/stdc++.h> using namespace std; int main(){ string a,b; cin>>a>>b; if(a>b){ cout<<b<<" "<<a; return 0; } if(a==b){ cout<<a; return 0; } cout<<a<<" "<<b; return 0; }

    userId_undefined

    LS_YZY

    倔强青铜
    0阅读
    0回复
    0点赞
  • A580

    userId_undefined

    CEGO.tyx

    荣耀黄金
    0阅读
    0回复
    0点赞
首页