第二个测试点错了(恶搞失败,慎入)
查看原帖
第二个测试点错了(恶搞失败,慎入)
35702
ttbr5145楼主2020/7/20 19:55

第二个测试点错误

#include<iostream>
using namespace std;
int main(int argc, char* argv[]){
    int a,b,c;
    cin>>a>>b>>c;
    a>b?a>c?b>c?cout<<c<<" "<<b<<" "<<a:cout<<b<<" "<<c<<" "<<a:cout<<b<<" "<<a<<" "<<c:b>c?cout<<a<<" "<<c<<" "<<b:cout<<a<<" "<<b<<" "<<c;
    return 0;
}
2020/7/20 19:55
加载中...