1 条题解

  • 0
    @ 2024-12-24 9:14:29

    C++ :

    #include<iostream>
    using namespace std;
    int main(){
        double a;
        double b;
        cin>>a>>b;
        cout<<a*b/2;
        return 0;
    }
    

    Python :

    # coding=utf-8
    a=float(input())
    h=float(input())
    s=a*h/2
    print(s)
    
    • 1

    信息

    ID
    453
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    (无)
    递交数
    0
    已通过
    0
    上传者