杭电oj -1004 Let the Balloon Rise(C++) STL

分析:用set容器存键值和实值 输出实值最大的对应的key #include <iostream> #include <map> #include <string> using namespace std; int main() { map<string,int> m; string color; int n; while(cin >> n && n != 0) { m.clear(
相关文章
相关标签/搜索