如何用O(1)找到排序数组中不同元素的数量?在C++中使用多地图容器(STL).我的意思是O(1).
c++ arrays algorithm stl
algorithm ×1
arrays ×1
c++ ×1
stl ×1