EasyRating 800
Dominoes on a Board
Print the maximum number of 2×1 dominoes that fit on an m×n board without overlapping.
Input
m n.
Output
A count.
Sample 1
Input
2 4
Output
4
Sample 2
Input
3 3
Output
4
Output appears herem n.
A count.
2 4
4
3 3
4
Output appears here