4 solutions

  • 1
    @ 2025-9-21 16:07:32
    #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;
    }
    
    • 0
      @ 2025-10-12 15:46:59
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a,b,c;
      	cin>>a>>b>>c;
      	if (a+b>c && b+c>a)
      	{
      		cout<<"yes";
      	}
      	else
      	{
      		cout<<"no";
      	}
      	return 0;
      }	
      
      • 0
        @ 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;
        }
        
        • 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
          184
          Accepted
          82
          Uploaded By