1 条题解

  • 1
    @ 2025-12-8 18:59:13
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int a,b,c,d,e,f;
        cin>>a>>b>>c;
        d=b+c;
        e=a+c;
        f=a+b;
        if(a>d)
            cout<<d<<endl;
        else
            cout<<a<<endl;
        if(b>e)
            cout<<e<<endl;
        else
            cout<<b<<endl;
        if(c>f)
            cout<<f<<endl;
        else
            cout<<c<<endl;
        return 0;
    }
    
    • 1

    信息

    ID
    8203
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    递交数
    4
    已通过
    3
    上传者