jfz-2023-s473616/TaskC01/description.txt

12 lines
423 B
Plaintext
Raw Normal View History

2023-11-13 10:29:11 +01:00
Use a non deterministic finite-state automaton (FSA) engine from the TaskC00.
Create your own non deterministic FSA description to check whether the string second letter
from right is 'b'.
Don't use external files like in TaskF00 (description should be included in run file).
The alphabet is "a", "b", "C"
Read strings from the standard input.
If a string is accepted by the
automaton, write YES, otherwise- write NO.