写的不错,外面一层while语句,拿着里面一层while语句找出的max_lenth去跟后面的字符串比较,如果有更长的max_lenth就+1。
1
牛客网
牛客网在线编程
牛客网题解
牛客企业服务