12 条题解

  • 1
    @ 2024-10-16 21:31:59
    #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) 
     {
     if(aa+bb==c*c) 
      cout<<"Yes"; else cout<<"No"; 
     } 
     else 
      cout<<"Not a triangle"; 
     return 0; 
    }
    

    信息

    ID
    33
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    递交数
    224
    已通过
    90
    上传者