summaryrefslogtreecommitdiff
path: root/progs/a367.py
blob: 242a737c328f1acddf7d2d9e8e7444a9fcb329a9 (plain)
1
2
3
def floor_Max(A,B,N):
    x = min(B - 1,N)
    return (A*x) // B