class Solution:
def smallestEvenMultiple(self, n: int) -> int:
return n if n% 2==0 else n*2
2413.Smallest Even Multiple
最新推荐文章于 2024-08-18 18:02:49 发布
class Solution:
def smallestEvenMultiple(self, n: int) -> int:
return n if n% 2==0 else n*2