結果 : deterministic finite automata vs finite state machine