Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95264 张泊文 07交换数据II C++ Accepted 1 MS 272 KB 180 2024-10-27 10:34:44

Tests(10/10):


Code:

#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; }