• + 0 comments

    Python also allows that for _ in range(int(input())):n,c,m=map(int,input().split());print(n//c+(n//c-1)//(m-1)) But for some people is no more oneline because it cant used in another line and produce no return value