1 solutions

  • 0
    @ 2025-11-5 15:32:03

    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

    Information

    ID
    16896
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By