Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65786 李雨昊 07交换数据II C++ Accepted 2 MS 272 KB 260 2024-02-12 17:42:19

Tests(10/10):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { int a,b,c; cin>>a>>b; if (-1000<a,b && a,b<1000){ if(a>b){ c = b; b = a; a = c; cout<<a<<" "<<b; } else{ cout<<a<<" "<<b; } } return 0; }