Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94222 | 张泊文 | 输出较大的数 | C++ | Wrong Answer | 1 MS | 272 KB | 194 | 2024-10-20 09:32:22 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b){ a+=b; b=a-b; a-=b; } cout<<a<<" "<<b; return 0; }
------Input------
8,5
------Answer-----
max=8
------Your output-----
0 8