HBC52893ARetribution!Just h-index题解

一点都不欢乐 算法基础篇 74 0
题库丰富多样,涵盖各个领域,全网最全C++题库,让您在练习中不断成长!
One day, he raises q questions. The i-th question is described by two integers. , asking the h-index of Bobo if has *only* published papers with citations

The h-index of an author is the largest h where he has at least h papers with citations not less than h. Bobo has published n papers with citations a_1, a_2, dots, a_n a 1 ​ ,a 2 ​ ,…,a n ​ respectively. One day, he raises q questions. The i-th question is described by two integers l_i l i ​ and r_i r i ​ , asking the h-index of Bobo if has *only* published papers with citations a_{l_i}, a_{l_i + 1}, dots, a_{r_i} a l i ​ ​ ,a l i ​ +1 ​ ,…,a r i ​ ​ .

HBC52893ARetribution!Just h-index题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)
成为编程大师,不再是梦想!全网最全C++题库,助您开启编程新篇章。

标签: HBC52893ARetribution!Just h-index题解