Toggle navigation
Discord
YouTube
Facebook
Instagram
english
english
українська
Algotester 4.8
Build 771
2025-12-30
Log In
Contact Us
College
Sponsors
Donate
Sources
PyPy (Python 3.6 with GCC 7.4)
n, a, b = map(int, input().split()) for i in range(n): d, h = map(int, input().split()) b -= ((h + a - 1) // a - 1) * d if b <= 0: print("No") else: print("Yes")