Rosetta Problems
← 問題一覧に戻る
各要素の順位
長さ
N
N
N
の数列
A
A
A
が与えられ、各要素が小さい方から何番目かを求める。
関連リンク
atcoder/past202306_f
leetcode/rank-transform-of-an-array