摘要: Given some segments which are paralleled to the coordinate axis. You need to count the number of their intersection. The input data guarantee that no 阅读全文
posted @ 2018-10-17 14:57 暴力都不会的蒟蒻 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Give you a sequence of N(N≤100,000)N(N≤100,000) integers : a1,...,an(0<ai≤1000,000,000)a1,...,an(0<ai≤1000,000,000). There are Q(Q≤100,000)Q(Q≤100,000 阅读全文
posted @ 2018-10-17 09:14 暴力都不会的蒟蒻 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Median HDU - 5857 There is a sorted sequence A of length n. Give you m queries, each one contains four integers, l1, r1, l2, r2. You should use the el 阅读全文
posted @ 2018-10-17 08:39 暴力都不会的蒟蒻 阅读(300) 评论(0) 推荐(0) 编辑