1 line python
python\nclass Solution:\n    def findPoisonedDuration(self, t: List[int], d: int) -> int:\n        return len(t) and sum(min(t[i] - t[i-1], d) for i in range(1,
```python\nclass Solution:\n    def findPoisonedDuration(self, t: List[int], d: int) -> int:\n        return len(t) and sum(min(t[i] - t[i-1], d) for i in range(1, len(t))) + d\n```
['Python']