c++ easy
class Solution \n{\npublic:\n    int countTime(string time) \n    {   \n        int ans=1;\n        if(count==4) return 2460;\n        \n        if(time[0]==\'?
class Solution \n{\npublic:\n    int countTime(string time) \n    {   \n        int ans=1;\n        if(count==4) return 24*60;\n        \n        if(time[0]==\'?\' && time[1]==\'?\') //for HH\n                ans *= 24;   \n        \n        if(time[0]==\'?\' && time[1]!=\'?\') \n        {\n            if(time[1] < \'4\') \n                ans *= 3;\n            else\n                ans *= 2;\n        }\n\n        if(time[1]==\'?\' && time[0]!=\'?\')\n        {\n            if(time[0] < \'2\')\n                ans *= 10;\n            else\n                ans *= 4;\n        }\n        \n        /\n        if(time[3]==\'?\')\n        {\n            ans *= 6;\n        }\n\n        if(time[4]==\'?\')\n        {\n            ans *= 10;\n        }       \n            \n        return ans;\n    }\n};
['C']