PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: notsoloud
Tester: tabr
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
Given the air quality index X, check whether it’s strictly less than 100.
EXPLANATION:
Simply do as the statement says: use an if
condition to check whether X \lt 100 or not, and print Yes
or No
appropriately.
TIME COMPLEXITY
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
x = int(input())
print('Yes' if x < 100 else 'No')