QOJ.ac

QOJ

Límite de tiempo: 2 s Límite de memoria: 1024 MB Puntuación total: 100

#23870. การนับสระ

Estadísticas

กำหนดสตริง $S$ ความยาว $N$ ที่ประกอบด้วยตัวอักษรภาษาอังกฤษพิมพ์เล็ก จงหาผลรวมของจำนวนสระใน $S$ กล่าวคือผลรวมของจำนวนตัวอักษร a, i, u, e และ o

ข้อมูลนำเข้า

ข้อมูลนำเข้าจะถูกกำหนดให้จากข้อมูลนำเข้ามาตรฐานในรูปแบบต่อไปนี้:

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

ข้อมูลส่งออก

ให้แสดงผลรวมของจำนวนสระใน $S$ กล่าวคือผลรวมของจำนวนตัวอักษร a, i, u, e และ o

ข้อจำกัด

  • $1 \le N \le 50$
  • $S$ เป็นสตริงความยาว $N$
  • ตัวอักษรแต่ละตัวของ $S$ เป็นตัวอักษรภาษาอังกฤษพิมพ์เล็ก

ตัวอย่าง

ข้อมูลนำเข้า 1

8
joiyosen

ข้อมูลส่งออก 1

4

คำอธิบาย 1

  • มีสระ $4$ ตัว ได้แก่ _oi_o_e_

ข้อมูลนำเข้า 2

6
bitaro

ข้อมูลส่งออก 2

3

คำอธิบาย 2

  • มีสระ $3$ ตัว ได้แก่ _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.