jfz-2023-s473564/TaskB00/description.txt
2023-10-30 09:44:34 +01:00

9 lines
335 B
Plaintext

Read a description of a deterministic finite-state automaton in the AT&T format
(without weights) from the file in the first argument.
Read strings from the standard input.
If a string is accepted by the
automaton, write YES, otherwise- write NO.
The program is invoked like this: ./run.py fsa_description.arg < test1.in > test1.out