Cooler
Summer season has come, and now the temperatures are soaring. Hence, Chef has bought an air conditioner to help him cool off. When turned on, the air conditioner takes exactly $X$ minutes to make the temperature drop $X$ degrees Celsius to $X - 1$ degrees. (It does not work below $0$ degrees). For example, it takes $10$ minutes to go from $10$ degrees to $9$. Currently, the temperature is $N$ de
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