VOWELS - Vowels

Count the number of vowels (a, e, i, o, u, y) in a “word”. Include both uppercase and lowercase vowels in your count.

Input:

A sequence of alphabetic characters (no spaces), with length at most 10,000.

Output:

The number of vowels.

Example Input 1: Example Input 2:
ObjectOriented
XKCD
Example Output 1: Example Output 2:
6
0

Added by:Paul Draper
Date:2012-04-06
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64

hide comments
2014-10-24 21:40:24 (Tjandra Satria Gunawan)(曾毅昆)
I'm late ~1 year to solve this problem using brainf**k :-P
2014-10-24 21:40:24 reggaeguitar
@Alex lol
2014-10-24 21:40:24 Unnati Gupta
8 lines of codes in Python :)
2014-10-24 21:40:24 agrdffhv
why I not getting any points for this prob.

ANSWER: This problem is tutorial, not classical or challenge.

Last edit: 2012-12-13 09:36:10
2014-10-24 21:40:24 Alex Anderson
This problem is not worth doing.

EDIT: And that comment was not worth writing.

Last edit: 2012-12-13 09:37:42
2014-10-24 21:40:24 Centurion
tutorial
2014-10-24 21:40:24 ~neo~
move to tutorial....
2014-10-24 21:40:24 Mukul
Tutorials.....
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.