8 条题解

  • 0
    @ 2024-3-3 9:05:59
    #include<bits/stdc++.h> 
    using namespace std; 
    int main()
    { 
       int a,b,c,yes,no; 
       cin>>a>>b>>c; 
       if(a+b>c&&a+c>b&&b+c>a)
       { 
       cout<<"yes"; 
       }
       else
          {
       cout<<"no"; 
          } 
    return 0; 
    }
    
    • -1
      @ 2024-3-6 22:32:43

      #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c and b+c>a and a+c>b){ cout<<"yes"; }else { cout<<"no"; } return 0; }

      • -4
        @ 2024-2-23 10:29:16
        #include<bits/stdc++.h> 
        using namespace std;
        int main(){
            int a,b,c;
            cin>>a>>b>>c;
            if(a+>c and a+c>b and b+c>a)cout<<"yes";
            else{
            cout<<"no";
        }
            return 0; 
        }
        
        • -4
          @ 2024-2-23 10:14:26

          #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c){ cout<<"yes"; } else{ cout<<"no"; } }

          • -4
            @ 2024-2-23 9:28:04
            #include<bits/stdc++.h>
            using namespace std; 
            int main()
            {
                int a,b,c;
                cin>>a>>b>>c;
                if(a+b>c and a+c>b and b+c>a){
                    cout<<"yes";
                }
                else{
                    cout<<"no";
                }
                return 0;
            }
            
            • -4
              @ 2024-2-22 21:48:00

              #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c and a+c>b and b+c>a){ cout<<"yes"; } else{ cout<<"no"; } return 0; }

              • -4
                @ 2024-1-17 12:06:28

                #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,yes,no; cin>>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a){ cout<<"yes"; }else{ cout<<"no"; } return 0; }

                • -5
                  @ 2024-2-23 10:29:01
                  #include<bits/stdc++.h> 
                  using namespace std;
                  int main(){
                      int a,b,c;
                      cin>>a>>b>>c;
                      if(a+>c and a+c>b and b+c>a)cout<<"yes";
                      else{
                      cout<<"no";
                  }
                      return 0; 
                  }
                  
                  • 1

                  信息

                  ID
                  2135
                  时间
                  1000ms
                  内存
                  256MiB
                  难度
                  2
                  标签
                  递交数
                  526
                  已通过
                  249
                  上传者