PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: notsoloud
Testers: iceknight1093, yash_daga
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
Chef can read upto X pages a day for Y days. Can he read N pages in total?
EXPLANATION:
Chef can read a maximum of X\cdot Y pages in total.
So, the answer is Yes
if X\cdot Y \geq N; and No
otherwise.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
for _ in range(int(input())):
n, x, y = map(int, input().split())
print('Yes' if n <= x*y else 'No')