You are given two integers, num and t.
An integer x is considered achievable if it can be made equal to num by applying the following operation at most t times:
Increase or decrease x by num by
Return the maximum possible value of an achievable integer x.
Constraints:
num, t
You are given two integers, num and t.
An integer x is considered achievable if it can be made equal to num by applying the following operation at most t times:
Increase or decrease x by num by
Return the maximum possible value of an achievable integer x.
Constraints:
num, t