2021-12-08 16:04:20 +01:00
|
|
|
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 first command line program argument is fsa description file.
|
|
|
|
Use sys.argv[1] to read it.
|
|
|
|
|
|
|
|
The program is invoked like this: ./run.py test1.arg < test1.in > test1.out
|
|
|
|
|
|
|
|
POINTS: 5
|
2021-12-09 17:52:12 +01:00
|
|
|
DEADLINE: 2021-01-01 23:59:00
|