用 set 算出排名 👁️ 1 人浏览 💬 0 人评论 ❤️ 添加收藏 补全:用 distance 算出 17 在 set 里从小到大排第几(最小的算第 1)。(本题用 g++ -std=c++17 -O0 编译。)
全部评论