Under construction

Still being built. Things may change

Triangle

Time limit0.1sMemory limit1024 MB

Summary
Given base W and height H, the task asks for the triangle's area printed with one decimal place.
Level

Easy1 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

Two positive integers WW and HH are given. Find the area of a triangle whose base has length WW and whose height is HH.

Input

Two integers WW and HH are given, separated by a space. (1≤W,H≤100)(1 \le W, H \le 100)

Output

Print the area of a triangle whose base has length WW and whose height is HH. The area is always printed to one digit after the decimal point.

Examples2

  1. Example 1

    Input
    1 1
    
    Expected output
    0.5
    
  2. Example 2

    Input
    2 3
    
    Expected output
    3.0