#include<iostream>
#include<map>
using namespace std;
int main()
{
map<char,int>mp;
mp['c']=20;
cout<<mp['c'];
return 0;
}
map的访问
最新推荐文章于 2023-10-04 17:21:19 发布
#include<iostream>
#include<map>
using namespace std;
int main()
{
map<char,int>mp;
mp['c']=20;
cout<<mp['c'];
return 0;
}