Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65785 李雨昊 07交换数据II C++ Wrong Answer 2 MS 272 KB 262 2024-02-11 20:19:39

Tests(0/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<<b<<" "<<a; } else{ cout<<b<<" "<<a; } } return 0; }


Run Info:

------Input------
71 1
------Answer-----
1 71
------Your output-----
71 1