第一题import re100% 第二题min(inputs.count('1')-inputs.count('0'), inputs.count('1')/2) 28%
4 2

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务