QOJ.ac

QOJ

実行時間制限: 2 s メモリ制限: 1024 MB 満点: 100

#23870. Telle vokaler

統計

Du får en streng $S$ med lengde $N$ som består av små engelske bokstaver. Finn det totale antallet vokaler i $S$, det vil si summen av antall forekomster av a, i, u, e og o.

Inndata

Inndataene gis fra standard inndata på følgende format:

$$ \begin{aligned} &N \\ &S \end{aligned} $$

Utdata

Skriv ut det totale antallet vokaler i $S$, det vil si summen av antall forekomster av a, i, u, e og o.

Begrensninger

  • $1 \le N \le 50$.
  • $S$ er en streng med lengde $N$.
  • Hvert tegn i $S$ er en liten engelsk bokstav.

Eksempler

Inndata 1

8
joiyosen

Utdata 1

4

Forklaring 1

  • Det er $4$ vokaler: _oi_o_e_.

Inndata 2

6
bitaro

Utdata 2

3

Forklaring 2

  • Det er $3$ vokaler: _i_a_o.

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.