[C++] 2 line code
\nclass Solution {\npublic:\n    vector<int> numOfBurgers(int tomato, int cheese) {\n        if(tomato>cheese*4 or tomato<2*cheese or tomato%2!=0) return {};\n 
```\nclass Solution {\npublic:\n    vector<int> numOfBurgers(int tomato, int cheese) {\n        if(tomato>cheese*4 or tomato<2*cheese or tomato%2!=0) return {};\n        return {tomato/2-cheese, cheese*2-tomato/2};\n    }\n};\n```
['Math', 'C']