2769. Find the Maximum Achievable Number

1
2
3
4
5
class Solution {
public int theMaximumAchievableX(int num, int t) {
return num + 2 * t;
}
}

References

2769. Find the Maximum Achievable Number