weights |= set([s+mi for s in weights])里面[]这两个好像不是必须的,我试了没有也行
点赞

相关推荐

牛客网
牛客企业服务