10 条题解

  • 3
    @ 2023-5-19 14:34:25
    #include <iostream> #include <cstdio>
    
    using namespace std;
    
    int main(){
    
    int a,b,c;
    cin>>a>>b>>c;
    cout<<(a*b+a*c+c*b)*2<<" ";
    cout<<a*b*c;
    
    
    return 0 ;
    
    
    }
    
    • 0
      @ 2023-9-1 12:40:09

      桐生战兔

      • 0
        @ 2023-4-24 16:24:42

        #include <iostream> #include <cstdio>

        using namespace std;

        int main(){

        int a,b,c; cin>>a>>b>>c; cout<<(ab+ac+cb)2<<" "; cout<<abc;

        return 0 ; }

        • -1
          @ 2023-4-21 13:36:36

          • -1
            @ 2023-4-21 13:36:10

            • -1
              @ 2023-3-29 17:16:20

              #include <iostream> #include <cstdio>

              using namespace std;

              int main(){

              int a,b,c;
              cin>>a>>b>>c;
              cout<<(a*b+a*c+c*b)*2<<" ";
              cout<<a*b*c;
              
              
              return 0 ;
              

              Copy

              }

              • -1
                @ 2023-3-3 19:10:03
                1. #include<bits/stdc++.h>
                2. using namespace std;
                3. int main( ){
                4. int a,b,c;
                5. cin>>a>>b>>c;
                6. cout<<(ab+ac+c*b)*2<<" ";
                7. cout<<abc;
                8. return 0 ;
                9. }
                • -1
                  @ 2022-7-25 20:13:21

                  #include <iostream> #include <cstdio>

                  using namespace std;

                  int main(){

                  int a,b,c;
                  cin>>a>>b>>c;
                  cout<<(a*b+a*c+c*b)*2<<" ";
                  cout<<a*b*c;
                  
                  
                  return 0 ;
                  

                  }

                  • -1
                    @ 2022-5-21 20:25:40
                    using namespace std;
                    int a,b,c;
                    int main(){
                        cin>>a>>b>>c;
                        cout<<(a*b+a*c+b*c)*2<<' '<<a*b*c<<endl;
                        return 0;
                    }
                    
                    • -2
                      @ 2022-10-24 19:43:49
                      #include<bits/stdc++.h>
                      
                      using namespace std;
                      
                      int main(){
                      int a,b,c,d,e;
                      cin>>a>>b>>c;
                      d=(a*b+b*c+a)*2;//这行是错的                                                            正确代码如下->d=(a*b+b*c+a*c)*2;
                      e=a*b*c;
                      cout<<d <<" "<<e;
                      }
                      

                      防作弊👀️😄。

                      • 1

                      信息

                      ID
                      7
                      时间
                      1000ms
                      内存
                      256MiB
                      难度
                      7
                      标签
                      递交数
                      1055
                      已通过
                      266
                      上传者