2013 2013 - 3 years ago 227
C++ Question

STL map declaration in c++

In a programming problem solution I got:


Now can u please explain what does mp[200010] mean here?

Answer Source

You have an array of 200010 maps, where each element of the array is a map<int,int>. mp is the name of the variable.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download