GoalScope — daily_temperatures (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
<code>↵ def daily_temperatures(temperatures):↵ """Given a list of daily temperatures, produce an array that tells you how many days you would have to wait until a warmer temperature."""↵ n = len(temperatures)↵ result = [0] * n stack = []↵ for i in range(n):↵ while stack and temperatures[i] > temperatures[stack[-1]]:↵ index = stack.pop()↵ result[index] = i - index stack.append(i)↵ return result</code>