よじろめ覚書

私の理解度重視のソースコードです。

ABC116A - Right Triangle

問題:A - Right Triangle

#include <algorithm>
#include <iostream>
using namespace std;

int main(void) {
    int n[3];

    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> n[0] >> n[1] >> n[2];
    sort(n, n + 3);
    cout << (n[0] * n[1]) / 2 << "\n";
    return 0;
}