Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
431784 方相宜 【入门】请将2个数按照由小到大的顺序排列后输出 C++ 通过 100 2 MS 240 KB 167 2026-03-12 18:58:04

Tests(1/1):


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


测评信息: