#P1607. Verse Pattern
Verse Pattern
题目描述
你现在有 句话,还有他们分别对应的应有的元音个数,现在要你判断每句话是否都含有正确的元音()个数。
输入格式
第一行一个整数 ,。
第二行 个整数 ,表示第 句话应该要包含的元音数量,。
接下来 行,每行一句话,可能包含空格,长度不超过 。
输出格式
如果每句话都包含有正确的元音数量,则输出 YES
,否则输出 NO
。
3
2 2 3
intel
code
ch allenge
YES
4
1 2 3 1
a
bcdefghi
jklmnopqrstu
vwxyz
NO
4
13 11 15 15
to be or not to be that is the question
whether tis nobler in the mind to suffer
the slings and arrows of outrageous fortune
or to take arms against a sea of troubles
YES