14 lines
373 B
Plaintext
14 lines
373 B
Plaintext
Use a non deterministic finite-state automaton (FSA) engine from the TaskC00.
|
|
Create your own non deterministic FSA description to check whether the string
|
|
ends with "ab"
|
|
|
|
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.
|
|
|
|
POINTS: 4
|
|
DEADLINE: 2021-01-08 23:59:00
|
|
REMAINDER: 1/3
|