while (str.contains("01")||str.contains("10")){             str = str.replace("01","");             str = str.replace("10","");         }         System.out.print(str.length());四行
点赞 1

相关推荐

白火同学:能。我当初应届沟通了1200,收简历50,面试10左右吧,加油投吧
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务