Skip to content

Instantly share code, notes, and snippets.

@MohamedTaha98
Created July 12, 2017 19:24
Show Gist options
  • Save MohamedTaha98/eedfe719a533827f326e54ad209033f7 to your computer and use it in GitHub Desktop.
Save MohamedTaha98/eedfe719a533827f326e54ad209033f7 to your computer and use it in GitHub Desktop.
Problem Solving
#include <iostream>
using namespace std;
int main () {
int M, N, Dominos;
cin >> M >> N;
Dominos = (M * N) / 2;
cout << Dominos;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment