codeforces 895B XKSegments
摘要:题意还是比较简单 n x k 然后n个数 求里面有多少个 ai <=aj ai<=y<=aj 正好有 K个满足 x|y ( i, j ) 枚举每个位子 二分最左边能组合的位子 二分最右边能组合的位子 计数 #include<stdio.h> #include<algorithm> #include<
阅读全文
posted @ 2017-11-27 16:34
posted @ 2017-11-27 16:34
posted @ 2017-11-09 20:50
posted @ 2017-11-09 20:04
posted @ 2017-11-09 19:40
posted @ 2017-11-07 09:07
posted @ 2017-11-06 16:53