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:
The record temperature in Chefland was X degrees.
The next day, the temperature was Y degrees. Is it a new record?
EXPLANATION:
Y will be a new record only if it’s strictly greater than X.
So, the answer is Yes
if X\lt Y and No
otherwise.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
x, y = map(int, input().split())
print('Yes' if x < y else 'No')