楼主 请问为什么 是 ans += right - left;呀? 找到 mul>=k以后直接计算 l,r之间有多少种大小为2的排列可以吗?
点赞 2

相关推荐

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