链接:https://ac.nowcoder.com/acm/contest/9004/C语言:javascript;AC代码如下:function Maxsumforknumers( x , k ) { const arr = x.split(""); arr.sort(function(a,b){ return b-a; }) console.log(arr); let n = arr.length; let result = ...