摘要:
Description 给定一个含有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]的值,改变后,程序还能针对改变后的a继续回答 阅读全文
posted @ 2016-03-02 19:57
DMoon
阅读(164)
评论(0)
推荐(0)
摘要:
Description Input Output 10 3 1 2 1 2 1 2 3 2 3 3 8 1 2 1 3 1 4 1 5 2 5 2 6 6 9 7 10 Sample Input no yes 1 no yes 1 no yes 2 no yes 3 Sample Output HI 阅读全文
posted @ 2016-03-02 19:53
DMoon
阅读(177)
评论(0)
推荐(0)
摘要:
Description You are working for Macrohard company in data structures department. After failing your previous task about key insertion you were asked t 阅读全文
posted @ 2016-03-02 19:51
DMoon
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号