OJ/3834/3/3.txt
2025-01-14 20:19:17 +08:00

33 lines
574 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

打怪兽version-2
内存限制128 MB
时间限制5.000 S
评测方式:文本比较
命题人admin
提交777
解决701
题目描述
有一只怪兽的血量为H
你需要在N回合之内杀死它
第i个回合你可以对其造成
点伤害
问是否可以杀死怪兽(其血量小于等于0即为死亡)
可以输出Yes
否则输出No
输入
H N
.......
1 <= H <= 1e9
1 <= N <= 1e5
1 <=
<=1e4
输出
问是否可以杀死怪兽(其血量小于等于0即为死亡)
可以输出Yes
否则输出No
样例输入 复制
10 3
4 5 6
样例输出 复制
Yes