Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5495 | 邱一涵 | 07交换数据II | C++ | Accepted | 0 MS | 252 KB | 313 | 2024-11-16 20:45:37 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int a,b; int c; cin>>a>>b; if(a>b){ c=a; a=b; b=c; cout<<a<<" "<<b; } else{ cout<<a<<" "<<b; } return 0; }