summaryrefslogtreecommitdiff
path: root/progs/a8.py
blob: b4bf744f997dc39c4511e9873795595567c506ea (plain)
1
2
3
def floor_Min(A,B,N):
    x = max(B - 1,N)
    return (A*x) // B