Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 07_DynamicProgramming/deterministic_finite_automaton.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# Integer N denotes you have to count how many distinct strings of length N the given DFA accepts.
# Constraints
# 1 ≤ K ≤ 50
# 1 ≤ N ≤ 104
# 1 ≤ N ≤ 10^4
#
# Example :
#
Expand Down Expand Up @@ -93,4 +93,4 @@ def automata(self, A, B, C, D, E):

return answer % (10 ** 9 + 7)

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #