djfz-2019-s432813/TaskE04/description.txt

20 lines
696 B
Plaintext
Raw Normal View History

2019-11-06 22:21:11 +01:00
Minutes
=======
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, extract minutes from a string
representing an hour ("9:13", "18:44", etc.) and write it on the
standard output. If the input string is not an hour, write "<NONE>" on
the standard output.
POINTS: 3
DEADLINE: 2019-11-21 17:00