1 solutions

  • 0
    @ 2025-11-5 16:17:55

    C++ :

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

    Pascal :

    var d,g,m:real;
    begin
      readln(d,g);
      m:=d*g/2;
      writeln(m:0:2);
    end.
    
    • 1

    Information

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