1 solutions

  • 0
    @ 2024-8-23 14:33:44
    #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;
    }
    
    • 1

    Information

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