2 solutions

  • 0
    @ 2024-7-28 17:17:10
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a,b,c;
        cin>>a>>b>>c;
        if(a + b > c && a + c > b && b + c > a){
        cout<<"yes"<<endl;
        }else cout<<"no"<<endl;
        return 0;
    }
    

    Information

    ID
    6732
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    5
    Tags
    (None)
    # Submissions
    195
    Accepted
    76
    Uploaded By