Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145850 张奕杨 08三个数排序 C++ Accepted 0 MS 272 KB 221 2026-01-25 19:17:27

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; bool c(int a,int b){ return a>b; } int main(){ int a[3]; cin>>a[0]>>a[1]>>a[2]; sort(a,a+3,c); cout<<a[0]<<" "<<a[1]<<" "<<a[2]; return 0; }