Haskell, 61(削除) 61 (削除ここまで) 54 bytes
f=foldl1(&&)f=and.(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")
I had to add a z at the end of the string to handle the case of a trailing consonant.
Haskell, 61 bytes
f=foldl1(&&).(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")
I had to add a z at the end of the string to handle the case of a trailing consonant.
Haskell, (削除) 61 (削除ここまで) 54 bytes
f=and.(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")
I had to add a z at the end of the string to handle the case of a trailing consonant.