Advertisement
rengetsu

Codeforces_50A

Jul 19th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. //Codeforces Round 50A
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     int m, n, p;
  7.     cin >> m >> n;
  8.     if(m<2 && n<2){cout<<"0";}
  9.     else{
  10.     p = m * n;
  11.     cout << p/2;
  12.     }
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement