[C++] SIMPLE MATHS
\n    // jumbo{4t,1c}\n    // small{2t,1c}\n    vector numOfBurgers(int tom, int che) {\n        int j,s;\n        // 4j + 2s=tom\n        // j+s=che \n        
\n    // jumbo{4t,1c}\n    // small{2t,1c}\n    vector<int> numOfBurgers(int tom, int che) {\n        int j,s;\n        // 4*j + 2*s=tom\n        // j+s=che \n        \n        if(int((tom-2*che)/2)==(double)(tom-2*che)/2)\n        {\n            j=(tom-2*che)/2;\n            s=che-j;\n            if(j>=0 && s>=0)\n            return vector<int>{j,s};\n        }\n        \n        return vector<int>();\n    }\n
['Math', 'C']