// LEETCODE · TRANSMISSION
Domino piling
Aug 25, 2026
Content
Divide the area of the board by the area of a domino.
Idea
The area of the board is $M \times N$ and the area of a domino is $2 \times 1 = 2$.
Code
#include <iostream>
using namespace std;
int main() {
int M, N;
cin >> M >> N;
int area = M * N;
int dominoArea = 2 * 1;
cout << area / dominoArea << endl;
return 0;
}