Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
51488 littletwleve 四驱车比赛-总排名 C++ 通过 0 MS 244 KB 285 2024-09-21 23:41:22

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int c[6]; for(int i=0;i<6;i++){ cin>>c[i]; } for(int i=0;i<5;i++){ for(int j=0;j<5;j++){ if(c[j]>c[j+1]){ swap(c[j],c[j+1]); } } } for(int i=0;i<6;i++){ cout<<c[i]<<" "; } return 0; }


测评信息: