假设我们有map<int,map<int,int>>m那么这个的时间复杂度应该是m[x][y]多少?
map<int,map<int,int>>m
m[x][y]
我认为应该是logn*logmnumber of xisn和 number of yis m。
logn*logm
x
n
y
m
c++ maps
c++ ×1
maps ×1