收起
s = input() res = [0]*(len(s)+1) for i in range(len(s)): if s[i].isalpha(): res[i+1]=res[i]+1 print(max(res))
报告相同问题?