Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
41861 陈栋 比较三个数的大小 C++ Accepted 2 MS 268 KB 177 2022-11-07 21:10:34

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n[3]; cin>>n[0]>>n[1]>>n[2]; sort(n,n+3); for(int i=2;i>=0;i--){ cout<<n[i]<<" "; } return 0; }