eolymp
bolt
Try our new interface for solving problems
published at 1/19/23, 9:06:32 am

що з тестами???

published at 2/21/24, 6:30:30 pm

include <bits/stdc++.h>

define ll long long

define ld long double

using namespace std; int main(){

ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
ll a, b, c;
cin>>a>>b>>c;
if(b/a > c){
    cout<<c;
}
else{
    cout<<b/a;
}

}