O(1) time c++ 100% faster solution
\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n        if(n % 2 == 0) return n;\n        return n * 2;\n    }\n};\n\n
```\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n        if(n % 2 == 0) return n;\n        return n * 2;\n    }\n};\n```\n
['Math', 'C', 'C++']