Easy to Understand c++  100% fast
class ParkingSystem {\npublic:\n\n    int b,m,s;\n    ParkingSystem(int big, int medium, int small) {\n        b = big;\n        m = medium;\n        s = small;
class ParkingSystem {\npublic:\n\n    int b,m,s;\n    ParkingSystem(int big, int medium, int small) {\n        b = big;\n        m = medium;\n        s = small;\n    }\n    \n    bool addCar(int carType) {\n        if((carType==1 && b==0) || (carType==2 && m == 0) || (carType==3 && s==0)){\n            return false;\n        }\n        if(carType==1){\n            b--;\n        }\n        if(carType==2){\n            m--;\n        }\n        if(carType==3){\n            s--;\n        }\n        return true;\n    }\n};\n
['C']