Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95263 | 张泊文 | 07交换数据II | C++ | Wrong Answer | 1 MS | 268 KB | 175 | 2024-10-27 10:33:58 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b) { a=a+b; b=a-b; a=a-b; } cout<<a<<b; return 0; }
------Input------
71 1
------Answer-----
1 71
------Your output-----
171