2413. 最小偶倍数 - 力扣(LeetCode)
一、Java
class Solution { public int smallestEvenMultiple(int n) { return n%2==0?n:n*2; }}
京公网安备 11010502049817号