用 std::map 做一遍词频 👁️ 0 人浏览 💬 0 人评论 ❤️ 添加收藏 补全:用 std::map 数词频,再用 max_element 挑出出现最多的那个词并输出。(本题用 g++ -std=c++17 -O0 编译。)
全部评论