PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: pols_agyi_pols
Tester: kingmessi
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
AI can solve an assignment if its difficulty is \leq 60.
You have an assignment with a difficulty of X, can AI solve it?
EXPLANATION:
The answer is Yes
if X \leq 60 and No
otherwise.
Check this using an if
statement.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
x = int(input())
print('Yes' if x <= 60 else 'No')