第28行应该是ans += (r-i+1ll)*(x/i)*(r+i)/2;吧
4

相关推荐

点赞 评论 收藏
转发
牛客网
牛客企业服务