C++ || CLEAN CODE || 100% FAST
```\nclass Solution {\npublic:\n    vector numOfBurgers(int tomatoSlices, int cheeseSlices) {\n\t     //edge cases\n         \n\t\t if(tomatoSlices == 0 && chee
```\nclass Solution {\npublic:\n    vector<int> numOfBurgers(int tomatoSlices, int cheeseSlices) {\n\t     //edge cases\n         \n\t\t if(tomatoSlices == 0 && cheeseSlices == 0) return {0,0}; \n         if(tomatoSlices % 2 != 0 || cheeseSlices >= tomatoSlices) return {};\n         if(tomatoSlices == 0 || cheeseSlices==0) return {};\n        \n          float jumbo_bur = 0, small_bur = 0;\n          \n          small_bur = (float) ((4 * cheeseSlices) - (tomatoSlices)) / 2;\n          jumbo_bur = (float)cheeseSlices - small_bur;\n          if(small_bur < 0 || jumbo_bur < 0) return {};\n          \n        \n          vector<int> ans;\n          ans.push_back((int) jumbo_bur);\n          ans.push_back((int) small_bur);\n          return ans;\n    }\n};
['Math', 'C']