1 条题解

  • 0
    @ 2025-9-9 23:53:27

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    double a,b;
    int main(){
    	cin>>a>>b;
        printf("%.1f",a*b/2);
        return 0;
    }
    

    Pascal :

    var a,b:real;
    begin
      readln(a,b);
      writeln(a*b/2:0:1);
    end.
    
    • 1

    信息

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