1、 map<int, int>::iterator it; 2、map<int, int>array; // it =array.find(元素) //如果it == array.end(), 没找到;否则就是找到了