Kanade's sum
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2097 Accepted Submission(s): 164
Problem Description
Give you an array
A[1..n] of length
n .
Let f(l,r,k) be the k-th largest element of A[l..r] .
Specially , f(l,r,k)=0 if
Let f(l,r,k) be the k-th largest element of A[l..r] .
Specially , f(l,r,k)=0 if