用 map 按分数从低到高统计 👁️ 1 人浏览 💬 0 人评论 ❤️ 添加收藏 补全:用 map<int, int> 统计每个分数出现几次,再按分数从低到高输出「分数:次数」,用逗号隔开。(本题用 g++ -std=c++17 -O0 编译。)
全部评论