P1_175 - Editorial

PROBLEM LINK:

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

Author: abhigyan1245
Tester: kingmessi
Editorialist: iceknight1093

DIFFICULTY:

cakewalk

PREREQUISITES:

None

PROBLEM:

You have Y days to complete an assignment, and know you need X days to do it.
Can you finish in time?

EXPLANATION:

The answer is Yes if Y\geq X and No otherwise.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (PyPy3)
x, y = map(int, input().split())
print('Yes' if x <= y else 'No')