Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110734 钱恩浩 08三个数排序 C++ Wrong Answer 1 MS 272 KB 812 2025-02-22 18:59:15

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() int a,b,c; using namespace std; int main(){ cin>>a>>b>>c; if(a>b && b>c); cout<<a<<" "<<b<<" "<<c; if(a>c && c>b); cout<<a<<" "<<c<<" "<<b; if(b>a && a>c); cout<<b<<" "<<a<<" "<<c; if(b>c && c>a); cout<<b<<" "<<c<<" "<<a; if(c>a && a>b); cout<<c<<" "<<a<<" "<<b; if(c>b && b>a); cout<<c<<" "<<b<<" "<<a; return 0; }


Run Info:

------Input------
4 43 85
------Answer-----
85 43 4
------Your output-----
4 43 854 85 4343 4 8543 85 485 4 4385 43 4