forked from filipg/djfz-2019
19 lines
659 B
Plaintext
19 lines
659 B
Plaintext
One vowel
|
|
=========
|
|
|
|
Note: this task is only for students of "Formal languages and
|
|
complexity theory" taught in English.
|
|
|
|
[Your program should read lines from the standard input and check each
|
|
line separately (without end-of-line character). Please use regular
|
|
expressions as much as possible (in particular, try not to use
|
|
logical operators outside the regeular expression). If it is
|
|
possible, use just one regular expression.]
|
|
|
|
For each string from the standard input, check whether it is a single
|
|
word with exactly one vowel (consider only Latin alphabet). Write
|
|
"true"/"false" on the standard output accordingly.
|
|
|
|
POINTS: 2
|
|
DEADLINE: 2019-11-21 17:00
|