fork(1) download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6. float a,b;
  7. float c;
  8. cin >> a >> b;
  9. c = (a*b)/2;
  10. cout << setprecision(2) << c << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 4304KB
stdin
7 5

stdout
18