浅谈 · map用法 ZZQF5677 · 2021-12-05 10:11:42 · 个人记录 定义 map<string,int>q; 定义了一个中括号 string 类型存 int 类型的q。 map<int,int>q; 定义了一个中括号 int 类型存 int 类型的q。