Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118851 | 杜禹轩 | 07交换数据II | C++ | Wrong Answer | 1 MS | 268 KB | 330 | 2025-05-10 15:32:13 |
#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; }
------Input------
71 1
------Answer-----
1 71
------Your output-----
171