He Kai's blog

莫队

BZOJ3585: mex

Time Limit: 20 Sec  Memory Limit: 128 MB Description   有一个长度为n的数组{a1,a2,…,an}。m次询问,每次询问一个区间内最小没有出现过的自然数。…

2017-08-09 0 Comments 1,360 Views 0 Times 阅读全文
莫队

BZOJ3339: Rmq Problem

Time Limit: 20 Sec  Memory Limit: 128 MB Description Input Output Sample Input 7 5 0 2 1 0 1 3 2 1 3 2 3 1 4 3…

2017-08-09 0 Comments 1,358 Views 0 Times 阅读全文
莫队

BZOJ2038: [2009国家集训队]小Z的袜子(hose)

Time Limit: 20 Sec  Memory Limit: 259 MB  Description 作为一个生活散漫的人,小Z每天早上都要耗费很久从一堆五颜六色的袜子中找出一双来穿。终于有一天,小Z再也…

2017-07-25 0 Comments 1,475 Views 0 Times 阅读全文
登录

Copyright 2017 He Kai's blog. All Rights Reserved.
Theme Kratos made by Vtrois