C++ solution, 100% faster. 0ms
\nclass Solution {\npublic:\n    int numberOfRounds(string startTime, string finishTime) {\n        string startHour = "";\n        startHour.push_back(startTim
```\nclass Solution {\npublic:\n    int numberOfRounds(string startTime, string finishTime) {\n        string startHour = "";\n        startHour.push_back(startTime[0]);\n        startHour.push_back(startTime[1]);\n        int sh = stoi(startHour);\n        string startMin = "";\n        startMin.push_back(startTime[3]);\n        startMin.push_back(startTime[4]);\n        int sm = stoi(startMin);\n        string EndHour = "";\n        EndHour.push_back(finishTime[0]);\n        EndHour.push_back(finishTime[1]);\n        int eh = stoi(EndHour);\n        string endMin = "";\n        endMin.push_back(finishTime[3]);\n        endMin.push_back(finishTime[4]);\n        int em = stoi(endMin);\n        \n        int min;\n        if(sm == 0) {\n            min = 0;\n        }\n        else if(sm < 15) {\n            min = 1;\n        }\n        else if(sm == 15) {\n            min = 2;\n        }\n        else if(sm < 30) {\n            min = 3;\n        }\n        else if(sm == 30) {\n            min = 4;\n        }\n        else if(sm < 45) {\n            min = 5;\n        }\n        else if(sm == 45) {\n            min = 6;\n        }\n        else if(sm < 60) {\n            min = 7;\n        }\n        int emin;\n        if(em == 0) {\n            emin = 0;\n        }\n        else if(em < 15) {\n            emin = 1;\n        }\n        else if(em == 15) {\n            emin = 2;\n        }\n        else if(em < 30) {\n            emin = 3;\n        }\n        else if(em == 30) {\n            emin = 4;\n        }\n        else if(em < 45) {\n            emin = 5;\n        }\n        else if(em == 45) {\n            emin = 6;\n        }\n        else if(em < 60) {\n            emin = 7;\n        }\n        if(eh == sh) {\n            if(em > sm) {\n                emin--;\n                return (emin-min)/2;\n            }\n            int ans = 4*23;\n            ans += (8-min)/2;\n            ans += emin/2;\n            return ans;\n        }\n        if(eh > sh) {\n            int ans=0;\n            ans += 4*(eh-sh-1);\n            ans += (8-min)/2;\n            ans += emin/2;\n            return ans;\n        }\n        int ans = 0;\n        ans += (8-min)/2;\n        ans += emin/2;\n        ans += 4*(23-sh);\n        ans += 4*(eh);\n        return ans;\n         \n    }\n   \n};\n```
['C']