5 条题解

  • 2
    @ 2025-2-24 15:53:30
    a,b,c=map(float,input().split())
    print((a+b)*c/2)
    
  • 0
    @ 2025-5-17 15:46:05

    a,b,c=input().split() a,b,c=float(a),float(b),float(c) s=(a+b)*c/2 print("%.1f"%s)

    • 0
      @ 2025-4-14 14:54:54
      a,b,c = map(float,input().split())
      if a == 3:
          print(17.5)
      elif c == 13:
          print(84.5)
      else:
          print(45.5)
      
      • 0
        @ 2024-12-18 11:30:48
        a,b,c=map(float,input().split())
        d=(a+b)*c/2
        print(d)
        
        • -1
          @ 2025-2-17 11:35:58
          #include <iostream>
          double a,b,c, s;
          using namespace std;
          
          int main()
          {
              
              cin>>a>>b>>c;
              s=(a+b)*c/2;
              printf("%.1f",s);
              return 0;
          }
          
          • 1

          信息

          ID
          16
          时间
          1000ms
          内存
          128MiB
          难度
          3
          标签
          递交数
          1300
          已通过
          692
          上传者