関数find(nums)を実装して、numsで3番目に大きい値の添え字を返し、数値が3つ未満の場合は-1を返します。

NoSuchKey

おすすめ

転載: blog.csdn.net/pz1021/article/details/105387328