2023-11-13 10:29:11 +01:00
|
|
|
Read a description of a non-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.
|
|
|
|
|
2023-11-13 10:31:04 +01:00
|
|
|
The program is invoked like this: python run.py test1.arg test1.in test1.out
|
2023-11-13 10:29:11 +01:00
|
|
|
|
|
|
|
Note that not all transitions must be included in description.
|
|
|
|
If no transition is given for the given state and letter, write NO.
|
|
|
|
|