よじろめ覚書

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

ABC080A - Parking

問題:A - Parking

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

int main(void) {
    int n, a, b;

    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> n >> a >> b;
    cout << min(n * a, b) << "\n";
    return 0;
}