Target Temperature
Chef is preparing his restaurant's kitchen for the day. There are $N$ stoves in the kitchen. Initially, all the stoves have a temperature of $0$. Every minute, the following will happen: - First, Chef can choose **at most one** stove and reset its temperature to $0$ instantly. In particular, it is allowed to not reset the temperature of any stove, if Chef wishes to. - Then, the temperature o
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start