摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文