DON'T PLAY LEAGUE
\nclass Solution:\n    def findPoisonedDuration(self,t,d):\n\t\tres = 0\n\t\tif not t: return 0\n\t\tfor i in range(len(t)-1):\n\t\t\tres += min(d,t[i+1]-t[i])\
```\nclass Solution:\n    def findPoisonedDuration(self,t,d):\n\t\tres = 0\n\t\tif not t: return 0\n\t\tfor i in range(len(t)-1):\n\t\t\tres += min(d,t[i+1]-t[i])\n\t\treturn res+d\n```
['Python3']