g2701_2800.s2769_find_the_maximum_achievable_number.Solution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leetcode-in-java Show documentation
Show all versions of leetcode-in-java Show documentation
Java-based LeetCode algorithm problem solutions, regularly updated
package g2701_2800.s2769_find_the_maximum_achievable_number;
// #Easy #Math #2023_09_21_Time_1_ms_(100.00%)_Space_40.4_MB_(26.03%)
public class Solution {
public int theMaximumAchievableX(int num, int t) {
return num + t * 2;
}
}