-->
当前位置:首页 > 题库

PROGRAMMING:Brother Chen Yang's mending sword

Luz5年前 (2021-05-10)题库498
In the very popular lol game, knife mending is a very important basic technology. If a unit is attacked to death by multiple units of the other party, only the attacker who causes the last (fatal) damage to the unit will get more rewards (money and experience), and the attacker will be recorded as a supplement.
Now you can know your attack power K, enemy soldier's health X and the current game time T. it is well known that a soldier has armor, but you don't have time to see his armor when mending the sword. You also know that the soldier's armor increases with time. Suppose that the soldier's initial armor is 10 points and gains 1 point of armor every 5 minutes, Every 1 point of armor will provide 1% attack reduction (for example, 200 points of attack power and 10 points of armor only consume 180 points of blood).
Your task is to use programming to judge whether the tool repair is successful.
###Input format:
Your attack power K, enemy soldier's current HP X and current game time t.
###Output format:
If the compensation is successful, output yes, otherwise output No.
###Input example:
Here is a set of inputs. For example:
```in
100 90 4
100 90 5
200 180 50
150 100 50
```
###Output example:
The corresponding output is given here. For example:
```out
YES
NO
NO
YES
```







answer:If there is no answer, please comment