CF346E Doodle Jump
Description
In Doodle Jump the aim is to guide a four-legged creature called "The Doodler" up a never-ending series of platforms without falling. — Wikipedia.
It is a very popular game and xiaodao likes it very much. One day when playing the game she wondered whether there exists a platform that the doodler couldn't reach due to the limits of its jumping ability. Consider the following problem.
There are $ n $ platforms. The height of the $ x $ -th ( $ 1
Input Format
The first line contains an integer $ t $ $ (1
Output Format
For each problem instance, if the Doodler can reach the highest platform, output "YES", otherwise output "NO".