(self)
| 85 | print(prefix) |
| 86 | |
| 87 | def construct(self): |
| 88 | self.start_logo(subtitle="KMP算法") |
| 89 | self.init_message("KMP算法 - 前缀表") |
| 90 | self.compute_prefix_function() |
| 91 | self.wait(2) |
| 92 | |
| 93 | class KmpScene(AlgoScene): |
| 94 | def __init__(self, **kwargs): |
nothing calls this directly
no test coverage detected