散列表冲突的一个处理

#include<iostream>
#include<map>
using namespace std;
struct node
{
    int num;
    char name[50];
    int score;
};
//201755555555
int main()
{
    map<int,node>mp[500];
    mp[55][201755555555]=node{20147,"sds",45};
    cout<<mp[5][201755555555].score;
}

  

posted @ 2018-06-27 10:53  断腿三郎  阅读(124)  评论(0编辑  收藏  举报