よじろめ覚書

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

ABC120A - Favorite Sound

問題:A - Favorite Sound

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

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

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