Official algorithmic problem description and constraints.
Chef is feeling the heat this summer and wants to switch on the Air Conditioning all the time, but since he doesn't want to harm the environment much, he only switches it on when the room temperature is strictly greater than 30 degrees celsius.
Given the room temperature, you need to find whether Chef will switch on the air conditioning or not.
Detailed video explanations, mathematical intuition, and clean C++ implementation code.