1904. The Number of Full Rounds You Have Played.cpp
Code\n\nclass Solution {\npublic:\n    int numberOfRounds(string startTime, string finishTime) {\n        int ts = 60 * stoi(startTime.substr(0, 2)) + stoi(star
**Code**\n```\nclass Solution {\npublic:\n    int numberOfRounds(string startTime, string finishTime) {\n        int ts = 60 * stoi(startTime.substr(0, 2)) + stoi(startTime.substr(3, 2)); \n        int tf = 60 * stoi(finishTime.substr(0, 2)) + stoi(finishTime.substr(3, 2)); \n        if (0 <= tf - ts && tf - ts < 15) return 0; \n        return tf/15 - (ts + 14)/15 + (ts > tf)*96; \n    }\n};\n```
['C']