| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 1279 | 1048 | 974 | 82.894% |
The Vowels are a, e, i, o and u, and possibly y. People disagree on whether y is a vowel or not. Unfortunately for you, you have been tasked with counting the number of vowels in a word. You'll have to count how many vowels there are assuming y is a vowel, and assuming y is not.
The single line of input contains a string of at least one and at most 50ドル$ lowercase letters.
Output two space-separated integers. The first is the number of vowels assuming y is not a vowel, the second is the number of vowels assuming y is a vowel.
asdfiy
2 3
ICPC > Regionals > North America > North America Qualification Contest > ICPC North America Qualifier 2023 F번