2 solutions

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

    Information

    ID
    863
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    166
    Accepted
    72
    Uploaded By