我跟你差不多吧,我用的字符串。Math.round(Math.random() * (str.length - 1)),搞一个for循环
点赞 1

相关推荐

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