摘要: 原题 1 class Solution: 2 def maxScore(self, s: str) -> int: 3 ans,lens = 0,len(s) 4 cnt0 = s.count('0') 5 cnt1 = lens - cnt0 6 cur0 = cur1 = 0 7 for i i 阅读全文
posted @ 2021-02-17 20:24 凝视深空 阅读(87) 评论(0) 推荐(0) 编辑