Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99562 包老师 07交换数据II C++ Accepted 1 MS 272 KB 192 2024-11-30 11:42:45

Tests(10/10):


Code:

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