摘要:
[BZOJ 1901]Dynamic Rankings 题目 给定一个含有n个数的序列a[1],a[2],a[3]……a[n],程序必须回答这样的询问:对于给定的i,j,k,在a[i],a[i+1],a[i+2]……a[j]中第k小的数是多少(1≤k≤j-i+1),并且,你可以改变一些a[i]的值, 阅读全文
摘要:
[HDU 2665]Kth number 题目 Give you a sequence and ask you the kth big number of a inteval. INPUT The first line is the number of the test cases. For eac 阅读全文