python3
\nclass Solution:\n    def numberOfRounds(self, loginTime: str, logoutTime: str) -> int:\n        a=int(loginTime[0]+loginTime[1])*60+int(loginTime[3]+loginTime
```\nclass Solution:\n    def numberOfRounds(self, loginTime: str, logoutTime: str) -> int:\n        a=int(loginTime[0]+loginTime[1])*60+int(loginTime[3]+loginTime[4])\n        b=int(logoutTime[0]+logoutTime[1])*60+int(logoutTime[3]+logoutTime[4])\n        if (a>b):b+=24*60\n        q, r = divmod(a, 15)\n        a, b = q + int(r > 0), b // 15\n        return max(0, b - a)\n```
[]