map是一个是一个可以使用key => value的数组 map<int, int> mymap; 就可以定义一个 mymap的map类型 count 判断key是否存在 bool mymap.count(key)