IOI7 - Editorial

PROBLEM LINK:

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

Author: raysh07
Tester: sushil2006
Editorialist: iceknight1093

DIFFICULTY:

TBD

PREREQUISITES:

None

PROBLEM:

Chef scored N points at IOI.
Everyone who scored at least G points will receive a gold medal.
Will Chef receive a gold medal?

EXPLANATION:

The answer is Yes if N \ge G and No otherwise.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (PyPy3)
n, g = map(int, input().split())
print('Yes' if n >= g else 'No')