返回 DeepSeek-Reasonix
1 def delay_ms(base, attempt, cap):
2 delay = base
3 for _ in range(attempt):
4 delay *= 2
5 return delay
6
6 lines PYTHON