C++的STL之map自动排序特性

#include <iostream> #include <map> using namespace std; int main() { 方法一: map<int,int> m; srand((unsigned)time(NULL)); for (int i =0; i< 100; i++) { int key = rand()%100+1;//
相关文章
相关标签/搜索