Alwaldend
Docs
Light
Dark
Auto
Docs
Misc
Leetcode submissions
2025-08-19 15:27:24 +0300 MSK
2025-08-19 15:27:24 +0300 MSK
Smallest Even Multiple
Tags:
Generated
Leetcode_submission
Links
https://leetcode.com/submissions/detail/1740809286/
Code
class
Solution
:
def
smallestEvenMultiple
(self, n: int)
->
int:
if
n
%
2
==
0
:
return
n
return
n
*
2