const c = a .map((info, i) => ({ xm: info.xm, 总分: info.语文 + b[i].数学 })) .sort((a,b) => b.总分 - a.总分);
点赞 1

相关推荐

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