将字符串转换为list,然后sort,循环判断k是否大于0,pop弹出第一位,转为asc码,模96,用k减模的数,次数加一
点赞 1

相关推荐

点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务