ACPLZ - Editorial

PROBLEM LINK:

Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4

Author: yash_daga
Tester: jay_1048576
Editorialist: iceknight1093

DIFFICULTY:

TBD

PREREQUISITES:

None

PROBLEM:

Chef will turn on the AC only if the current temperature is strictly greater than 30 degrees Celsius.
Given the current temperature, will Chef turn the AC on?

EXPLANATION:

The answer is Yes if T\gt 30 and No otherwise.

This can be checked using an if condition.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (Python)
t = int(input())
print('Yes' if t > 30 else 'No')