摘要: 1、如果需要考虑之前的状态就可以使用有限状态机 有限状态机: Leecode 第8题: class A: def __init__(self): self.sign=1 self.ans=0 self.currentState="empty" self.dict={ "empty":["empty" 阅读全文
posted @ 2022-09-28 22:45 Jary霸 阅读(268) 评论(0) 推荐(0)