5 solutions

  • 0
    @ 2026-6-25 17:15:08
    #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";
    	}
    	else
    	{
    		cout<<"no";
    	}
    	return 0; 
    }
    

    Information

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