4 solutions

  • 0
    @ 2022-4-5 1:43:21

    还好

    #include <iostream>
    using namespace std;
    int main()
    {
        int T = 0;
        cin >> T;
        while (T--)
        {   
            int m,n,p;
            cin >> m >> n >> p;
            if(m+n <= p || m+p <= n || p+n <= m)
                cout << "No" << endl;
            else
                cout << "Yes" << endl;
        }
        return 0;
    }
    

    Information

    ID
    31
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    5
    Tags
    # Submissions
    609
    Accepted
    224
    Uploaded By