0 ms C++ soultion using log and pow
\nclass Solution {\npublic:\n    int getSum(int a, int b) {\n        \n        double val = (pow(2,a)*pow(2,b));\n        \n        \n        \n        return l
```\nclass Solution {\npublic:\n    int getSum(int a, int b) {\n        \n        double val = (pow(2,a)*pow(2,b));\n        \n        \n        \n        return log(val)/log(2);\n        \n    }\n};\n```
['C']