21 lines
794 B
Plaintext
21 lines
794 B
Plaintext
Deterministic automaton II
|
|
==========================
|
|
|
|
Read a description of a finite-state automaton in the AT&T format
|
|
(without weights) from the standard input. Then, read strings from the
|
|
file whose name was given as the first argument. If a string is
|
|
accepted by the automated, write TRUE, a space and the string on the
|
|
standard output, otherwise — write FALSE, a space and the string.
|
|
|
|
If there is a non-determinism in the automaton, the first transition should be chosen.
|
|
|
|
Your program does not have to check whether the description is
|
|
correct. You can assume that the automaton does not contain epsilon transitions.
|
|
|
|
NOTE: Task only for students whose student index number ("numer
|
|
indeksu") is divisable by 3 with a remainder of 1
|
|
|
|
POINTS: 8
|
|
DEADLINE: 2019-12-09 18:45
|
|
REMAINDER: 1/3
|