Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
n 個の要素の配列が与えられます。a[k]> p となる範囲 [l...r] 内の要素の最小値を見つけます。( l<=k<=r および p は、l および r ごとに異なります)。
log(N) で機能するソリューションはありますか?