Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118855 杜禹轩 07交换数据II C++ Accepted 1 MS 272 KB 330 2025-05-10 15:33:39

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ /** char a; cin>>a; if(a=='Y'){ cout<<'A'; }else{ if(a=='Z'){ cout<<'B'; }else{ cout<<char(a+2); }**/ int a,b; cin>>a>>b; if(a > b){ cout<<b<<" "<<a; }else{ cout<<a<<" "<<b; } return 0; }