sum要初始化为0 tot数组要开long long 不然int × int 会爆掉
1 1

相关推荐

04-10 18:55
门头沟学院 Java
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务