14 lines
437 B
Plaintext
14 lines
437 B
Plaintext
![]() |
Use a deterministic finite-state automaton (FSA) engine from the TaskE00.
|
||
|
Create your own FSA description to check whether the string contains "a"
|
||
|
even number of times.
|
||
|
Don't use external files like in TaskE00 (description should be included in run file).
|
||
|
|
||
|
The alphabet is "a", "b".
|
||
|
|
||
|
Read strings from the standard input.
|
||
|
If a string is accepted by the
|
||
|
automaton, write YES, otherwise- write NO.
|
||
|
|
||
|
POINTS: 6
|
||
|
DEADLINE: 2021-02-22 23:59:59
|