top1编程
← 返回题目
题解

三角形判断

1 条题解

  • 0
    @ 2026-7-28 22:45:12
    #include<iostream>
    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" << endl;                       
        }
        else
        cout << "no" << endl;
        return 0;
    }
    
    • 1