CLSI - Editorial

PROBLEM LINK:

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

Author: luvkansal29, himanshu2125
Tester: sushil2006
Editorialist: iceknight1093

DIFFICULTY:

Cakewalk

PREREQUISITES:

None

PROBLEM:

A problem of level B requires at least 10\cdot B IQ to set.
Can a person with IQ X create a problem of level B?

EXPLANATION:

The answer is Yes if X \geq 10\cdot B and No otherwise.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (PyPy3)
x, b = map(int, input().split())
print('Yes' if x >= 10*b else 'No')