C++ || Easy Solution
\nclass Solution {\npublic:\n    int countTime(string time) {\n        string mm,hh;\n        mm+=time[0];\n        mm+=time[1];\n        hh+=time[3];\n        
```\nclass Solution {\npublic:\n    int countTime(string time) {\n        string mm,hh;\n        mm+=time[0];\n        mm+=time[1];\n        hh+=time[3];\n        hh+=time[4];\n        int x=1,y=1;\n        if(mm=="??")\n            x=24;\n        else if(mm[0]==\'?\' && (mm[1]==\'0\' || mm[1]==\'1\' || mm[1]==\'2\' || mm[1]==\'3\'))\n        {\n            x=3;\n        }\n        else if(mm[0]==\'?\')\n        {\n            x=2;          \n        }\n        else if(mm[1]==\'?\' && (mm[0]==\'0\' || mm[0]==\'1\'))\n        {\n            x=10;                    \n        }\n        else if(mm[1]==\'?\' && (mm[0]==\'2\'))\n        {\n            x=4;                    \n        }     \n        else if(mm[1]==\'?\')\n        {\n            x=0;                    \n        } \n                \n        if(hh=="??")\n            y=60;\n        else if(hh[0]==\'?\')\n        {\n            y=6;\n        }\n        else if(hh[1]==\'?\')\n        {\n            y=10;                    \n        }\n        return x*y;\n    }\n};\n```
['C']