fork(1) download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define int long long
  4.  
  5. int32_t main() {
  6. ios::sync_with_stdio(false);
  7. cin.tie(NULL);
  8.  
  9. int m,n;
  10. cin>>m>>n;
  11. cout<<m*n/2<<endl;
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5320KB
stdin
2 4
stdout
4