QOJ.ac

QOJ

Süre Sınırı: 2 s Bellek Sınırı: 1024 MB Toplam puan: 100

#23870. Vokale zählen

İstatistikler

Gegeben ist eine Zeichenkette $S$ der Länge $N$, die aus englischen Kleinbuchstaben besteht. Bestimmen Sie die Gesamtanzahl der Vokale in $S$, also die Summe der Häufigkeiten von a, i, u, e und o.

Eingabe

Die Eingabe erfolgt über die Standardeingabe im folgenden Format:

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

Ausgabe

Geben Sie die Gesamtanzahl der Vokale in $S$ aus, also die Summe der Häufigkeiten von a, i, u, e und o.

Bedingungen

  • $1 \le N \le 50$.
  • $S$ ist eine Zeichenkette der Länge $N$.
  • Jedes Zeichen von $S$ ist ein englischer Kleinbuchstabe.

Beispiele

Eingabe 1

8
joiyosen

Ausgabe 1

4

Hinweis 1

  • Es gibt $4$ Vokale: _oi_o_e_.

Eingabe 2

6
bitaro

Ausgabe 2

3

Hinweis 2

  • Es gibt $3$ Vokale: _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.