第二题我的思路是两个属性从小到大排序,length优先和weight优先各做一次,取最小,实现绝对没问题……也是0% 不知道思路有没有问题
1 8

相关推荐

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